mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
d7ecdd645a
Otherwise we risk a subsequent memdup or memcpy copying uninitialized RAM into some other place that might eventually expose it. Let's make sure that doesn't happen. Closes ticket 14041
6 lines
263 B
Plaintext
6 lines
263 B
Plaintext
o Minor features (security):
|
|
- Clear all memory targetted by tor_addr_{to,from}_sockaddr(),
|
|
not just the part that's used. This makes it harder for data leak
|
|
bugs to occur in the event of other programming failures.
|
|
Resolves ticket 14041.
|