Skip to content
Snippets Groups Projects
Commit 39ef3435 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

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.
parent 7d3d56e5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment