Переглянути джерело

changes file for big free macro-ization branch

Nick Mathewson 6 роки тому
батько
коміт
5508ee29d5
1 змінених файлів з 8 додано та 0 видалено
  1. 8 0
      changes/bug24337

+ 8 - 0
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.