aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-19 13:16:56 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-19 13:16:56 -0400
commit3b1f7f75a7efa51ae5549a6413e90066cfe307a8 (patch)
tree2c9cc7e068af1cda0a314a9c554c2614cbe6eac8 /changes
parent685d450ab3823c578514ce6986d00c6e219abb43 (diff)
downloadtor-3b1f7f75a7efa51ae5549a6413e90066cfe307a8.tar.gz
tor-3b1f7f75a7efa51ae5549a6413e90066cfe307a8.zip
scan-build: memarea_strndup() undefined behavior
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.
Diffstat (limited to 'changes')
0 files changed, 0 insertions, 0 deletions