diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-10-14 09:38:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-10-17 14:49:54 -0400 |
commit | 3cea86eb2fbb65949673eb4ba8ebb695c87a57ce (patch) | |
tree | ef0bd43d76691b249912bc22dff34dfe771831dd /src/or/rendmid.h | |
parent | 12a72983766d5265b5259038af711cb172671af7 (diff) | |
download | tor-3cea86eb2fbb65949673eb4ba8ebb695c87a57ce.tar.gz tor-3cea86eb2fbb65949673eb4ba8ebb695c87a57ce.zip |
Add a one-word sentinel value of 0x0 at the end of each buf_t chunk
This helps protect against bugs where any part of a buf_t's memory
is passed to a function that expects a NUL-terminated input.
It also closes TROVE-2016-10-001 (aka bug 20384).
Diffstat (limited to 'src/or/rendmid.h')
0 files changed, 0 insertions, 0 deletions