[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] changes file for big free macro-ization branch



commit 5508ee29d56c948efc7a07747e37cc27538e17a8
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Nov 21 09:57:05 2017 -0500

    changes file for big free macro-ization branch
---
 changes/bug24337 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/changes/bug24337 b/changes/bug24337
new file mode 100644
index 000000000..82b430425
--- /dev/null
+++ b/changes/bug24337
@@ -0,0 +1,8 @@
+  o Minor features (defensive programming):
+    - Most of the functions in Tor that free objects have been replaced
+      with macros that free the objects and set the corresponding pointers
+      to NULL. This change should help prevent a large class of dangling
+      pointer bugs. Closes ticket 24337.
+
+    - Where possible, the tor_free() macro now only evaluates its input once.
+      Part of ticket 24337.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits