summaryrefslogtreecommitdiff
path: root/other/travis/toxcore-script
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-25 03:13:46 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-26 01:30:06 +0000
commit9c03439ad09f6f23ca634685d5b0b9cac8b03a88 (patch)
tree6482d50c777dc73745f6c912269394056d01eee6 /other/travis/toxcore-script
parent2a5941c9f9c355475fc2a75759d1daedbd77ea97 (diff)
Fix out of bounds read in error case in messenger_test.
Also got rid of two VLAs. They are overused a bit in toxcore. In irc_syncbot, the array was uninitialised and then filled by a recv system call. This can cause uninitialised reads if recv doesn't fill the entire array. It could not cause out of bounds read directly, because a NUL-terminator was in place, but both cases are undefined behaviour.
Diffstat (limited to 'other/travis/toxcore-script')
0 files changed, 0 insertions, 0 deletions