mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Wipe all of the target space in tor_addr_{to,from}_sockaddr()
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
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user