summaryrefslogtreecommitdiffstats
path: root/prebuilt/common/bin/otasigcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'prebuilt/common/bin/otasigcheck.sh')
-rw-r--r--prebuilt/common/bin/otasigcheck.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/prebuilt/common/bin/otasigcheck.sh b/prebuilt/common/bin/otasigcheck.sh
index 99fdaec..aba53b0 100644
--- a/prebuilt/common/bin/otasigcheck.sh
+++ b/prebuilt/common/bin/otasigcheck.sh
@@ -20,6 +20,9 @@ if [ -f "/data/system/packages.xml" -a -f "/tmp/releasekey" ]; then
OLDIFS="$IFS"
IFS=""
while read line; do
+ if [ "${#line}" -gt 4094 ]; then
+ continue
+ fi
params=${line# *<package *}
if [ "$line" != "$params" ]; then
kvp=${params%% *}