diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-21 09:57:05 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-08 14:47:19 -0500 |
commit | 5508ee29d56c948efc7a07747e37cc27538e17a8 (patch) | |
tree | 9823473ec734af4c6372e377d1e38b31b07ec925 | |
parent | 1d348989b08a3d3c50dfa2600a5e5e2f61fb2b4a (diff) | |
download | tor-5508ee29d56c948efc7a07747e37cc27538e17a8.tar.gz tor-5508ee29d56c948efc7a07747e37cc27538e17a8.zip |
changes file for big free macro-ization branch
-rw-r--r-- | changes/bug24337 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/changes/bug24337 b/changes/bug24337 new file mode 100644 index 0000000000..82b430425d --- /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. |