commit | 68ad8c245825c6a4d89df39e5dbb198a4f89da45 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Mar 15 09:37:28 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Mar 15 09:40:28 2017 -0700 |
tree | c6c898d4746ffd073b56c543f267ed068c9697a5 | |
parent | 35f20eace9a98dcad9218967f6083c646234056d [diff] |
Move "fastboot oem" to std::string. Not sure how this code got missed when we moved everything else off C string handling... $ adb reboot bootloader $ fastboot oem `perl -e 'print "x"x1024;'` Before: <crashes> After: error: Command length (1028) exceeds maximum size (64) (The error says 1028 instead of 1024 because it includes the "oem ".) Bug: http://b/36232671 Test: fastboot oem `perl -e 'print "x"x1024;'` Change-Id: Ib4664e49222bd2b71be5aa3fe81f386d6073414f