mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
3b1f7f75a7
The memarea_strndup() function would have hit undefined behavior by creating an 'end' pointer off the end of a string if it had ever been given an 'n' argument bigger than the length of the memory ares that it's scanning. Fortunately, we never did that except in the unit tests. But it's not a safe behavior to leave lying around. |
||
---|---|---|
.. | ||
common | ||
config | ||
ext | ||
or | ||
test | ||
tools | ||
win32 | ||
include.am |