diff options
author | overcaffeinated <overcaffeinated@airmail.cc> | 2016-11-19 19:32:08 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-01 10:14:42 -0500 |
commit | 3b6da3f90ccad60517f5b639d5340a7e6489be27 (patch) | |
tree | 86b67f5024fa7de14d78c5824394109caab22aa7 /changes | |
parent | 6c2174d44d01b4c231befe9de5ce2ffb042cc65d (diff) | |
download | tor-3b6da3f90ccad60517f5b639d5340a7e6489be27.tar.gz tor-3b6da3f90ccad60517f5b639d5340a7e6489be27.zip |
Fix memory leak in bug 20716
newconn->address is strdup'ed twice when new_type == CONN_TYPE_AP
and conn->socket_family == AF_UNIX. Whilst here, juggle code to
make sure newconn->port is assigned from an initialised value in
the above case.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug20716 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug20716 b/changes/bug20716 new file mode 100644 index 0000000000..37fd6feecf --- /dev/null +++ b/changes/bug20716 @@ -0,0 +1,3 @@ + o Minor bugfixes (client, memory leak): + - Fix a small memory leak when receiving AF_UNIX connections on + a SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha. |