1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00
transmission/libtransmission
Jordan Lee 96c180fd73 (trunk libT) fix 2.30b1 memory corruption bug when editing trackers.
The problem was that the new number of trackers was not being kept and the old count was retained. So if the count changed, tr_torrentTrackers() could return dangling pointers to the caller.
2011-04-11 19:44:16 +00:00
..
announcer-common.h (trunk libT) remove the tr_session argument from the announce/scrape response callbacks 2011-03-26 12:06:04 +00:00
announcer-http.c (trunk libT) remove the tr_session argument from the announce/scrape response callbacks 2011-03-26 12:06:04 +00:00
announcer-udp.c (trunk libT) strip trailing whitespace 2011-03-28 13:37:46 +00:00
announcer.c (trunk libT) fix 2.30b1 memory corruption bug when editing trackers. 2011-04-11 19:44:16 +00:00
announcer.h (trunk libT) minor code cleanup in announcer-udp: whitespace & function names 2011-03-26 10:22:25 +00:00
bandwidth.c (trunk libT) use aggregation for the tr_bandwidth objects owned by tr_session and tr_torrent 2011-03-31 14:53:22 +00:00
bandwidth.h (trunk libT) use aggregation for the tr_bandwidth objects owned by tr_session and tr_torrent 2011-03-31 14:53:22 +00:00
bencode-test.c (trunk libT) still fiddling around with #includes -- this time removing unncecessary libT includes from libT .c files 2011-03-25 01:41:57 +00:00
bencode.c (trunk libT) fix "dangerous pointer arithmetic" warning detected by clang static analyzer 2011-03-31 04:24:57 +00:00
bencode.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
bitfield.c (trunk libT) remove an assertion from bitfield that doesn't always need to be true 2011-04-06 04:55:57 +00:00
bitfield.h remove unneeded include 2011-04-04 21:42:04 +00:00
blocklist-test.c (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
blocklist.c (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
blocklist.h (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
cache.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
cache.h (trunk libT) memory cache should use evbuffers to avoid unnecessary calls to memcpy -- done. 2011-01-29 18:56:53 +00:00
clients-test.c (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
clients.c (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
clients.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
completion.c (trunk libT) handle situations where we don't know the bitfield's upper bound in advance. This comes up sometimes with magnet links. 2011-03-30 04:14:57 +00:00
completion.h (trunk libT) handle situations where we don't know the bitfield's upper bound in advance. This comes up sometimes with magnet links. 2011-03-30 04:14:57 +00:00
ConvertUTF.c
ConvertUTF.h
crypto.c (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
crypto.h (trunk libT) copyediting: '#include "crypto.h"' cleanup 2011-03-25 01:21:31 +00:00
fdlimit.c (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
fdlimit.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
handshake.c (trunk libT) remove unneeded assert()ion 2011-04-10 05:22:18 +00:00
handshake.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
history-test.c (trunk libT) more heap pruning: avoid four unnecessary malloc() + free() calls per tr_peer. 2011-04-06 23:27:11 +00:00
history.c (trunk libT) more heap pruning: avoid four unnecessary malloc() + free() calls per tr_peer. 2011-04-06 23:27:11 +00:00
history.h (trunk libT) more heap pruning: avoid four unnecessary malloc() + free() calls per tr_peer. 2011-04-06 23:27:11 +00:00
inout.c (trunk libT) tr_torrentGetFileMTime() used to require two stat() calls.. now it only requires one. 2011-04-02 07:36:34 +00:00
inout.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
json-test.c
json.c (trunk libT) since the JSON parser gives us the string's length, we can call tr_strndup() instead of tr_strdup() 2011-04-01 03:07:43 +00:00
json.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
JSON_parser.c (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
JSON_parser.h
libt.dox
list.c (trunk libT) oops, r12313 committed the wrong version of list.c 2011-04-05 00:59:49 +00:00
list.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
magnet-test.c
magnet.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
magnet.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
Makefile.am (trunk libT) break the mac build and introduce new crashes. 2011-03-28 16:31:05 +00:00
makemeta.c (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
makemeta.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
metainfo.c (trunk libT) more malloc pruning. *yawn* 2011-04-01 04:13:51 +00:00
metainfo.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
natpmp.c (trunk libT) copyediting: remove a bunch of seemingly-unneeded network headers in net.[ch]. 2011-03-24 22:57:39 +00:00
natpmp.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
net.c Reinstate including tcp.h in net.c. 2011-04-02 16:43:17 +00:00
net.h (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
peer-common.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
peer-io.c (trunk libT) use a better data struct for the tr_datatype list in peer-io 2011-04-10 05:21:51 +00:00
peer-io.h (trunk libT) use a better data struct for the tr_datatype list in peer-io 2011-04-10 05:21:51 +00:00
peer-mgr.c (trunk libT) in peer-mgr's closeBadPeers() function, don't bother doing any of the setup/teardown calculations if the peer array is empty. 2011-04-07 20:15:49 +00:00
peer-mgr.h (trunk libT) don't cache unininteresting peer addresses between sessions 2011-03-29 15:23:54 +00:00
peer-msgs-test.c (trunk libT) copyediting: yes, removing more unnecessary #includes 2011-03-25 06:20:12 +00:00
peer-msgs.c (trunk libT) use alloca() for allocating the block array in updateBlockRequests() 2011-04-05 00:53:57 +00:00
peer-msgs.h (trunk libT) copyediting: yes, removing more unnecessary #includes 2011-03-25 06:20:12 +00:00
platform.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
platform.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
port-forwarding.c (trunk libT) still fiddling around with #includes -- this time removing unncecessary libT includes from libT .c files 2011-03-25 01:41:57 +00:00
port-forwarding.h (trunk libT) copyediting: clean up the "#include <event2/*>" directives in libtransmission's header files 2011-03-24 22:45:04 +00:00
ptrarray.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
ptrarray.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
resume.c (trunk libT) copyediting in resume.c 2011-04-01 03:13:44 +00:00
resume.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
rpc-server.c (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
rpc-server.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
rpc-test.c
rpcimpl.c (trunk libT) break the mac build and introduce new crashes. 2011-03-28 16:31:05 +00:00
rpcimpl.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
session.c (trunk libT) when reading piece data in from a socket, avoid two unnecessary calls to memcpy() 2011-04-04 04:45:41 +00:00
session.h (trunk libT) when reading piece data in from a socket, avoid two unnecessary calls to memcpy() 2011-04-04 04:45:41 +00:00
stats.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
stats.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
test-peer-id.c (trunk libT) Add an enumeration for the peer id length. Use that enum for the peer_id fields in tr_session and tr_torrent. 2011-03-10 12:35:23 +00:00
torrent-ctor.c (trunk) fix a handful of small memory leaks that valgrind found. 2011-03-25 17:42:47 +00:00
torrent-magnet.c (trunk libT) copyediting: '#include "crypto.h"' cleanup 2011-03-25 01:21:31 +00:00
torrent-magnet.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
torrent.c (trunk libT) tr_torrentGetFileMTime() used to require two stat() calls.. now it only requires one. 2011-04-02 07:36:34 +00:00
torrent.h (trunk libT) tr_torrentGetFileMTime() used to require two stat() calls.. now it only requires one. 2011-04-02 07:36:34 +00:00
tr-dht.c (trunk libT) fix file descriptor leak in tr-dht.c 2011-03-31 03:37:24 +00:00
tr-dht.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
tr-getopt.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
tr-getopt.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
tr-lpd.c (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
tr-lpd.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
tr-udp.c (trunk libT) fix minor dead store detected by clang static analyzer 2011-03-31 04:03:07 +00:00
tr-udp.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
tr-utp.c (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
tr-utp.h add configure script switch to enable/disable utp 2011-02-18 00:45:44 +00:00
transmission.h (trunk libT) save 48 bytes per tr_torrent object. whoo! 2011-03-31 16:08:31 +00:00
trevent.c (trunk libT) still fiddling around with #includes -- this time removing unncecessary libT includes from libT .c files 2011-03-25 01:41:57 +00:00
trevent.h (trunk libT) copyediting: yes, removing more unnecessary #includes 2011-03-25 06:20:12 +00:00
upnp.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
upnp.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
utils-test.c (trunk libT) fix ABR error when parsing a URL with no path and no trailing slash after the host. Error reported by livings124 2011-04-05 22:21:18 +00:00
utils.c (trunk libT) fix ABR error when parsing a URL with no path and no trailing slash after the host. Error reported by livings124 2011-04-05 22:21:18 +00:00
utils.h (trunk libT) tr_set_func is only used in one place, so make it a private function there instead of leaving it public in utils.h 2011-03-22 23:49:29 +00:00
verify.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
verify.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
web.c (trunk libT) API cleanup of the tr_address functions to make them more consistent. 2011-03-25 05:34:26 +00:00
web.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
webseed.c (trunk libT) use aggregation for the tr_bandwidth objects owned by tr_session and tr_torrent 2011-03-31 14:53:22 +00:00
webseed.h (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
wildmat.c (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00