]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
changes file for big free macro-ization branch
authorNick Mathewson <nickm@torproject.org>
Tue, 21 Nov 2017 14:57:05 +0000 (09:57 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 8 Dec 2017 19:47:19 +0000 (14:47 -0500)
changes/bug24337 [new file with mode: 0644]

diff --git a/changes/bug24337 b/changes/bug24337
new file mode 100644 (file)
index 0000000..82b4304
--- /dev/null
@@ -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.