[Feature][ZXW-285]merge P56U05 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: Ied657102425a179a89ef41847170152e8a5d437c
diff --git a/ap/app/busybox/src/shell/math.c b/ap/app/busybox/src/shell/math.c
old mode 100644
new mode 100755
index 15c0039..174137d
--- a/ap/app/busybox/src/shell/math.c
+++ b/ap/app/busybox/src/shell/math.c
@@ -585,6 +585,8 @@
numstackptr->var = NULL;
errno = 0;
numstackptr->val = strto_arith_t(expr, (char**) &expr, 0);
+ if (isalnum(*expr) || *expr == '_')
+ goto err;
if (errno)
numstackptr->val = 0; /* bash compat */
goto num;