| commit | 7cf3575179f5374d0a5ba5a0c4cd7b61ad586cf8 | [log] [tgz] |
|---|---|---|
| author | Elliott Hughes <enh@google.com> | Fri Apr 17 17:03:59 2015 -0700 |
| committer | Elliott Hughes <enh@google.com> | Fri Apr 17 17:58:35 2015 -0700 |
| tree | 25f6d93b2a819d8b91d749b072ee5897440b50ae | |
| parent | bbb6b9843d5b28c9f515ac7d9cef690d772dcfaa [diff] [blame] |
Remove yet more fixed-length buffers (and their overruns). Bug: 20317724 Change-Id: If137fc96f5f23576ccecd388ac87afefa47337c6
diff --git a/adb_main.cpp b/adb_main.cpp index fb17e89..5acaf80 100644 --- a/adb_main.cpp +++ b/adb_main.cpp
@@ -383,7 +383,7 @@ /* If adbd runs inside the emulator this will enable adb tracing via * adb-debug qemud service in the emulator. */ adb_qemu_trace_init(); - while (1) { + while (true) { int c; int option_index = 0; static struct option opts[] = {