aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-14 09:38:12 -0400
committerNick Mathewson <nickm@torproject.org>2016-12-20 18:18:53 -0500
commit8f857c23b755cda41dbb8adf6b14d5defb76a00c (patch)
treeab193b50ca88e5eaeb1354bdeeb14b9111dd734a /src/or/directory.c
parent0fb3058eced5dce355d777288bd9ec255b875db4 (diff)
downloadtor-8f857c23b755cda41dbb8adf6b14d5defb76a00c.tar.gz
tor-8f857c23b755cda41dbb8adf6b14d5defb76a00c.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/or/directory.c')
0 files changed, 0 insertions, 0 deletions