aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-serial.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-02-13 13:10:17 -0800
committerAleksander Morgado <aleksander@aleksander.es>2014-02-14 09:03:13 +0100
commitd278f381d28f6a4ebc82f4f7ea838961ebb466a3 (patch)
treeff9f1cb55d054c598dd268c92edcad23fde5b8f4 /src/mm-port-serial.c
parent0ce424451789a5ffacde7ff3cce038c2fbda97eb (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