diff options
author | Ben Chan <benchan@chromium.org> | 2014-02-13 13:10:17 -0800 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-02-14 09:03:13 +0100 |
commit | d278f381d28f6a4ebc82f4f7ea838961ebb466a3 (patch) | |
tree | ff9f1cb55d054c598dd268c92edcad23fde5b8f4 /src/mm-port-serial.c | |
parent | 0ce424451789a5ffacde7ff3cce038c2fbda97eb (diff) |
tests: fix array bound checks in process_next_command
This patch fixes the out-of-bounds array accesses in test-port-context.c,
which is detected by AddressSanitizer, by checking the index against the
array length before accessing the array.
Diffstat (limited to 'src/mm-port-serial.c')
0 files changed, 0 insertions, 0 deletions