commit | 93ffa7579cd75d1bdb2d124aa5cc5f8b6025e3d8 | [log] [tgz] |
---|---|---|
author | Jin Feng <jin88.feng@gmail.com> | Tue Jun 04 17:46:24 2013 +0800 |
committer | Jin Feng <jin88.feng@gmail.com> | Tue Jun 04 17:46:24 2013 +0800 |
tree | 947b893bed823941f5a7fb5368d892d30bcef135 | |
parent | ec838b885dd8b74b8682dd2498c7da8f7afca291 [diff] |
Fix the potential segmentation fault Extral newline can trigger recovery segmentation fault Test case: host$ adb shell 'echo -en "--update_package=ota_update.zip\n--show_text\n\n" > /cache/recovery/command' host$ adb reboot recovery Change-Id: If1781c1f5ad94a273f1cb122b67cedd9fb562433 Signed-off-by: Jin Feng <jin88.feng@gmail.com>