1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-21 13:46:52 +00:00
transmission/libtransmission
Jordan Lee 918f6a96e0 (trunk libT) fix possible memory leak in tr-udp's EV_READ handler.
The EV_READ callback allocates a buffer, but then returns without freeing it if recvfrom() returns <= 0. This commit inverts the logic to avoid returning until the buffer's been free()d.
2011-03-04 21:38:04 +00:00
..
announcer.c (trunk libT) #3208 "Local Peer Discovery idea: prioritize LPD requests for downloads" -- add patch from Eszet 2011-03-04 17:33:29 +00:00
announcer.h
bandwidth.c (trunk libT) minor revision to r12065: clamp the bandwidth before applying the ratio calculation 2011-03-03 07:20:18 +00:00
bandwidth.h (trunk libT) remove the unused tr_ratecontrol code. switch webseed over to using tr_bandwidth. 2011-03-03 18:33:24 +00:00
bencode-test.c
bencode.c (trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done. 2011-02-23 03:54:04 +00:00
bencode.h (trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done. 2011-02-23 03:54:04 +00:00
bitfield.c (trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done. 2011-02-23 03:54:04 +00:00
bitfield.h (trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done. 2011-02-23 03:54:04 +00:00
bitset.c (trunk libT) make the tr_bitsetToBenc() and tr_bitsetFromBenc() functions follow bitset.c's variable naming convention of how the "this" pointer is named 2011-02-24 04:14:12 +00:00
bitset.h (trunk libT) if we're a partial seed and the peer has everything we have, disconnect. 2011-02-24 01:50:35 +00:00
blocklist-test.c
blocklist.c
blocklist.h
cache.c (trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done. 2011-02-23 03:54:04 +00:00
cache.h
clients-test.c
clients.c
clients.h
completion.c revert the last commit 2011-02-26 14:59:05 +00:00
completion.h (trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done. 2011-02-23 03:54:04 +00:00
ConvertUTF.c
ConvertUTF.h
crypto.c
crypto.h
fdlimit.c (trunk libT) new function: tr_ssToAddr() 2011-03-04 21:00:52 +00:00
fdlimit.h (trunk libT) add an "existing dir" argument to tr_fdFileCheckout(). 2011-03-03 19:59:12 +00:00
handshake.c
handshake.h
history-test.c (trunk libT) #4051 "Use composition for the tr_history fields in tr_peer" -- fixed. 2011-02-23 06:01:16 +00:00
history.c (trunk libT) #4051 "Use composition for the tr_history fields in tr_peer" -- fixed. 2011-02-23 06:01:16 +00:00
history.h (trunk libT) #4051 "Use composition for the tr_history fields in tr_peer" -- fixed. 2011-02-23 06:01:16 +00:00
inout.c (trunk libT) add an "existing dir" argument to tr_fdFileCheckout(). 2011-03-03 19:59:12 +00:00
inout.h (trunk libT) add an "existing dir" argument to tr_fdFileCheckout(). 2011-03-03 19:59:12 +00:00
json-test.c
json.c
json.h
JSON_parser.c
JSON_parser.h
libt.dox
list.c
list.h
magnet-test.c
magnet.c
magnet.h
Makefile.am (trunk libT) remove the unused tr_ratecontrol code. switch webseed over to using tr_bandwidth. 2011-03-03 18:33:24 +00:00
makemeta.c
makemeta.h
metainfo.c
metainfo.h
natpmp.c
natpmp.h
net.c (trunk libT) new function: tr_ssToAddr() 2011-03-04 21:00:52 +00:00
net.h (trunk libT) new function: tr_ssToAddr() 2011-03-04 21:00:52 +00:00
peer-common.h (trunk libT) #4035 "In seed state, transmission disconnect from leechers" -- fixed. 2011-02-24 14:35:45 +00:00
peer-io.c remove a handful of unnecessary casts 2011-03-03 19:56:44 +00:00
peer-io.h
peer-mgr.c (trunk) #4072 "remove the 'know peer count' field in Inspector" -- remove it from libtransmission too 2011-03-04 04:50:50 +00:00
peer-mgr.h (trunk) #4072 "remove the 'know peer count' field in Inspector" -- remove it from libtransmission too 2011-03-04 04:50:50 +00:00
peer-msgs-test.c
peer-msgs.c (trunk libT) #4078 "Better calculation of the bitfield length while still a magnet link" -- fixed. 2011-03-02 15:00:12 +00:00
peer-msgs.h
platform.c
platform.h
port-forwarding.c
port-forwarding.h
ptrarray.c
ptrarray.h
resume.c (trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done. 2011-02-23 03:54:04 +00:00
resume.h
rpc-server.c
rpc-server.h
rpc-test.c
rpcimpl.c (trunk) #4072 "remove the 'know peer count' field in Inspector" -- remove it from libtransmission too 2011-03-04 04:50:50 +00:00
rpcimpl.h
session.c (trunk libT) #4047 "transfer speed shown as 0" -- revert r11783 (#3950) because it caused speed misreporting. 2011-03-01 15:23:13 +00:00
session.h (trunk libT) #4047 "transfer speed shown as 0" -- revert r11783 (#3950) because it caused speed misreporting. 2011-03-01 15:23:13 +00:00
stats.c
stats.h
test-peer-id.c
torrent-ctor.c
torrent-magnet.c
torrent-magnet.h
torrent.c (trunk) #4072 "remove the 'know peer count' field in Inspector" -- remove it from libtransmission too 2011-03-04 04:50:50 +00:00
torrent.h store secondsDownloading and secondsSeeding as ints instead of time_t 2011-02-26 15:01:07 +00:00
tr-dht.c
tr-dht.h
tr-getopt.c
tr-getopt.h
tr-lpd.c (trunk libT) #3208 "Local Peer Discovery idea: prioritize LPD requests for downloads" -- add patch from Eszet 2011-03-04 17:33:29 +00:00
tr-lpd.h
tr-udp.c (trunk libT) fix possible memory leak in tr-udp's EV_READ handler. 2011-03-04 21:38:04 +00:00
tr-udp.h
tr-utp.c (trunk libT) new function: tr_ssToAddr() 2011-03-04 21:00:52 +00:00
tr-utp.h
transmission.h (trunk) #4072 "remove the 'know peer count' field in Inspector" -- remove it from libtransmission too 2011-03-04 04:50:50 +00:00
trevent.c
trevent.h
upnp.c
upnp.h
utils-test.c (trunk libT) utils-test.c: remove some debugging stubs that should not have been checked in 2011-02-24 04:16:47 +00:00
utils.c (trunk libT) a bit of futzing: remove a few more unnecessary casts from void* 2011-03-03 21:51:11 +00:00
utils.h
verify.c
verify.h
web.c (trunk libT) web.c: free the unprocessed tasks before exiting the libcurl thread. 2011-02-21 01:13:28 +00:00
web.h
webseed.c (trunk libT) remove the unused tr_ratecontrol code. switch webseed over to using tr_bandwidth. 2011-03-03 18:33:24 +00:00
webseed.h
wildmat.c