diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-10-14 09:38:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-20 18:20:01 -0500 |
commit | 39ef34352317d66d6fe33a0632f1db057de89f48 (patch) | |
tree | 8254877af4e6c6d16fd80e21ee9698c9d0d71997 /src/config | |
parent | 7d3d56e59a3df16615881007a77b77e30fecb831 (diff) | |
download | tor-39ef34352317d66d6fe33a0632f1db057de89f48.tar.gz tor-39ef34352317d66d6fe33a0632f1db057de89f48.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.
Diffstat (limited to 'src/config')
0 files changed, 0 insertions, 0 deletions