Selaa lähdekoodia

changes file for big free macro-ization branch

Nick Mathewson 6 vuotta sitten
vanhempi
commit
5508ee29d5
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  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.