Jin Feng 93ffa7579c 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>
2013-06-04 17:46:24 +08:00
2012-04-12 11:01:22 -07:00
2012-08-21 16:03:11 -04:00
2012-01-18 10:35:28 -08:00
2011-10-31 10:24:09 -07:00
2011-10-31 10:24:09 -07:00
2010-03-08 18:04:03 -08:00
2011-11-04 14:09:48 -07:00
2012-01-18 10:35:28 -08:00
2012-08-22 17:26:40 -07:00
2012-08-22 17:26:40 -07:00
2011-10-31 10:24:09 -07:00
2012-09-18 12:37:02 -07:00
Description
No description provided
102 MiB
Languages
C++ 50.2%
C 43.6%
Makefile 1.9%
Java 1.8%
Roff 1%
Other 1.4%