]> git.ipfire.org Git - thirdparty/tor.git/commit
lookup_last_hid_serv_request() could overflow and leak memory
authorSebastian Hahn <sebastian@torproject.org>
Sun, 7 Feb 2010 05:30:55 +0000 (06:30 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 7 Feb 2010 05:37:35 +0000 (06:37 +0100)
commitdfee17328950628686bf2c78a8983871f36d97cf
tree2892be8eb23376721e0cea6150c92e86c1721def
parentf6ff14a82ead43e3f5c2a6b2f2ace45ca2f45081
lookup_last_hid_serv_request() could overflow and leak memory

The problem was that we didn't allocate enough memory on 32-bit
platforms with 64-bit time_t. The memory leak occured every time
we fetched a hidden service descriptor we've fetched before.
ChangeLog
src/or/rendclient.c