mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
9c03439ad0
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. |
||
---|---|---|
.. | ||
av_test.c | ||
BUILD | ||
DHT_test.c | ||
irc_syncbot.c | ||
Makefile.inc | ||
Messenger_test.c | ||
misc_tools.c | ||
tox_shell.c | ||
tox_sync.c |