transmission/libtransmission
Charles Kerr f79a75cb21
test: fuzz test tr_variantFromBuf() (#2892)
* test: fuzz test tr_torrent_metainfo.parseBenc()

* fix: better error-checking in benc string parsing

* fix: return benc failure if the parse stack is unbalanced

* fix: stack range error when logging json parse errors

* test: fuzz test tr_variantFromBuf()
2022-04-06 16:39:39 -05:00
..
.clang-tidy refactor: remove varargs from libtransmission (#2876) 2022-04-04 20:37:12 -05:00
CMakeLists.txt feat: add tr_strbuf (#2810) 2022-03-24 16:41:29 -05:00
announce-list.cc refactor: strbuf for metainfo files (#2833) 2022-03-28 17:13:32 -05:00
announce-list.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
announcer-common.h refactor: remove deep logging (#2749) 2022-03-09 23:51:14 -06:00
announcer-http.cc refactor: prefer FMT_STRING (#2845) 2022-03-30 14:59:13 -05:00
announcer-udp.cc fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
announcer.cc refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
announcer.h refactor: use C++ objects in announcer (#2474) 2022-01-22 23:41:01 -06:00
bandwidth.cc refactor: aggregate bandwidth objects (#2783) 2022-03-18 11:34:29 -05:00
bandwidth.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
benc.h test: fuzz test tr_variantFromBuf() (#2892) 2022-04-06 16:39:39 -05:00
bitfield.cc refactor: annotate nodiscard, constexpr, noexcept methods (#2862) 2022-04-01 19:48:09 -05:00
bitfield.h refactor: annotate nodiscard, constexpr, noexcept methods (#2862) 2022-04-01 19:48:09 -05:00
block-info.cc refactor: remove unused tr_block_info.n_blocks_in_piece (#2704) 2022-02-24 12:14:46 -06:00
block-info.h refactor: annotate nodiscard, constexpr, noexcept methods (#2862) 2022-04-01 19:48:09 -05:00
blocklist.cc refactor: remove tr_snprintf() (#2872) 2022-04-04 13:36:48 -05:00
blocklist.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
cache.cc fix: sonarcloud warnings (#2804) 2022-03-24 00:18:41 -05:00
cache.h refactor: use tr_block_info::Location in cache.cc (#2652) 2022-02-19 07:45:19 -06:00
clients.cc fix: tr_clientForId() (#2887) 2022-04-06 12:06:11 -05:00
clients.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
completion.cc refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
completion.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
crypto-utils-ccrypto.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
crypto-utils-cyassl.cc refactor: a little more logging (#2800) 2022-03-22 11:45:56 -05:00
crypto-utils-fallback.cc chore: update license spdx abbreviations (#2582) 2022-02-07 10:25:02 -06:00
crypto-utils-openssl.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
crypto-utils-polarssl.cc refactor: a little more logging (#2800) 2022-03-22 11:45:56 -05:00
crypto-utils.cc refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
crypto-utils.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
crypto.cc chore: update license spdx abbreviations (#2582) 2022-02-07 10:25:02 -06:00
crypto.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
error-types.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
error.cc refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
error.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
fdlimit.cc refactor: make err arg optional in tr_sys_* funcs (#2827) 2022-03-27 12:37:29 -05:00
fdlimit.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
file-info.cc feat: warn when creating torrents with nonportable filenames (#2695) 2022-02-23 17:38:07 -06:00
file-info.h feat: warn when creating torrents with nonportable filenames (#2695) 2022-02-23 17:38:07 -06:00
file-piece-map.cc Feat: add tr_block_info::Location (#2649) 2022-02-18 17:17:19 -06:00
file-piece-map.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
file-posix.cc refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
file-win32.cc refactor: remove tr_snprintf() (#2872) 2022-04-04 13:36:48 -05:00
file.cc chore: update license spdx abbreviations (#2582) 2022-02-07 10:25:02 -06:00
file.h refactor: make err arg optional in tr_sys_* funcs (#2827) 2022-03-27 12:37:29 -05:00
handshake.cc fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
handshake.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
history.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
inout.cc refactor: prefer FMT_STRING (#2845) 2022-03-30 14:59:13 -05:00
inout.h refactor: use tr_block_info::Location in inout.cc (#2658) 2022-02-19 10:07:08 -06:00
interned-string.h fix: sonarcloud (#2837) 2022-03-29 05:57:04 -05:00
jsonsl.c chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
jsonsl.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
libt.dox
log.cc fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
log.h refactor: a little more logging (#2800) 2022-03-22 11:45:56 -05:00
magnet-metainfo.cc test: fuzz test tr_magnet_metainfo.parseMagnet() (#2890) 2022-04-06 13:22:08 -05:00
magnet-metainfo.h fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
makemeta.cc refactor: remove tr_snprintf() pt 2 (#2871) 2022-04-03 13:23:00 -05:00
makemeta.h refactor: use fmt to build the GTK client's user-visible strings (#2788) 2022-03-21 09:15:48 -05:00
mime-types.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
mime-types.js chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
natpmp.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
natpmp_local.h NAT-PMP private/public port and lifetime fix (#1602) 2022-01-21 18:07:24 -06:00
net.cc refactor: remove tr_snprintf() pt 2 (#2871) 2022-04-03 13:23:00 -05:00
net.h refactor: annotate nodiscard, constexpr, noexcept methods (#2862) 2022-04-01 19:48:09 -05:00
peer-common.h refactor: remove redundant MAX_BLOCK_SIZE constant (#2740) 2022-03-04 23:35:22 -08:00
peer-io.cc fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
peer-io.h fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
peer-mgr-active-requests.cc fix: sonarcloud (#2868) 2022-04-02 17:42:51 -05:00
peer-mgr-active-requests.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
peer-mgr-wishlist.cc refactor: rename mediator classes (#2681) 2022-02-22 09:09:24 -06:00
peer-mgr-wishlist.h refactor: rename mediator classes (#2681) 2022-02-22 09:09:24 -06:00
peer-mgr.cc fix: sonarcloud (#2868) 2022-04-02 17:42:51 -05:00
peer-mgr.h refactor: fmt part 3 (#2773) 2022-03-15 19:51:36 -05:00
peer-msgs.cc refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
peer-msgs.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
peer-socket.h refactor: move tr_netClosePeerSocket() impl to net.cc (#2659) 2022-02-19 12:10:43 -06:00
platform-quota.cc refactor: remove tr_strcmp0() (#2882) 2022-04-05 12:45:26 -05:00
platform-quota.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
platform.cc refactor: remove varargs from libtransmission (#2876) 2022-04-04 20:37:12 -05:00
platform.h refactor: use fmt to build the GTK client's user-visible strings (#2788) 2022-03-21 09:15:48 -05:00
port-forwarding.cc refactor: a little more logging (#2800) 2022-03-22 11:45:56 -05:00
port-forwarding.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
ptrarray.cc refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
ptrarray.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
quark.cc Limit bandwidth used by a group of torrents (#2761) 2022-03-18 08:11:59 -05:00
quark.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
resume.cc refactor: prefer FMT_STRING (#2845) 2022-03-30 14:59:13 -05:00
resume.h Limit bandwidth used by a group of torrents (#2761) 2022-03-18 08:11:59 -05:00
rpc-server.cc refactor: tr_loadFile() tr_saveFile() take a std::string_view filename arg (#2822) 2022-03-25 19:31:27 -05:00
rpc-server.h fixup: unix socket implementation changes (#2707) 2022-02-27 14:05:08 -08:00
rpcimpl.cc refactor: remove tr_snprintf() pt 2 (#2871) 2022-04-03 13:23:00 -05:00
rpcimpl.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
session-id.cc refactor: make err arg optional in tr_sys_* funcs (#2827) 2022-03-27 12:37:29 -05:00
session-id.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
session.cc refactor: remove tr_strcmp0() (#2882) 2022-04-05 12:45:26 -05:00
session.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
stats.cc refactor: tr_variantToFile() takes a string_view filename (#2824) 2022-03-25 22:39:08 -05:00
stats.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
subprocess-posix.cc refactor: prefer FMT_STRING (#2845) 2022-03-30 14:59:13 -05:00
subprocess-win32.cc refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
subprocess.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
torrent-ctor.cc refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
torrent-magnet.cc refactor: add tracer assertionf or bug #2727 (#2836) 2022-03-28 23:29:35 -05:00
torrent-magnet.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
torrent-metainfo.cc refactor: prefer FMT_STRING (#2845) 2022-03-30 14:59:13 -05:00
torrent-metainfo.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
torrent.cc fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
torrent.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
torrents.cc refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
torrents.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
tr-assert.cc refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
tr-assert.h refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
tr-assert.mm refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
tr-dht.cc refactor: remove tr_snprintf() (#2872) 2022-04-04 13:36:48 -05:00
tr-dht.h Revert "fix: sonarcloud (#2558)" (#2562) 2022-02-01 11:30:51 -06:00
tr-getopt.cc refactor: sonarcloud "use if init" statements (#2587) 2022-02-07 23:44:31 -06:00
tr-getopt.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
tr-lpd.cc refactor: remove tr_snprintf() (#2872) 2022-04-04 13:36:48 -05:00
tr-lpd.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
tr-macros.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
tr-strbuf.h refactor: remove tr_snprintf() pt 2 (#2871) 2022-04-03 13:23:00 -05:00
tr-udp.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
tr-udp.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
tr-utp.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
tr-utp.h refactor: use tr_block_info::Location in cache.cc (#2652) 2022-02-19 07:45:19 -06:00
transmission.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
trevent.cc fix: sonarcloud (#2837) 2022-03-29 05:57:04 -05:00
trevent.h fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
upnp.cc refactor: remove tr_snprintf() pt 2 (#2871) 2022-04-03 13:23:00 -05:00
upnp.h Add bind-address-ipv4 to upnp (#845) 2022-01-21 09:44:45 -06:00
utils.cc refactor: remove tr_strcmp0() (#2882) 2022-04-05 12:45:26 -05:00
utils.h refactor: remove tr_strcmp0() (#2882) 2022-04-05 12:45:26 -05:00
variant-benc.cc test: fuzz test tr_variantFromBuf() (#2892) 2022-04-06 16:39:39 -05:00
variant-common.h test: fuzz test tr_variantFromBuf() (#2892) 2022-04-06 16:39:39 -05:00
variant-json.cc test: fuzz test tr_variantFromBuf() (#2892) 2022-04-06 16:39:39 -05:00
variant.cc test: fuzz test tr_variantFromBuf() (#2892) 2022-04-06 16:39:39 -05:00
variant.h refactor: tr_variantToFile() takes a string_view filename (#2824) 2022-03-25 22:39:08 -05:00
verify.cc perf: replace tr_torrentFindFile2() with tr_torrrent.findFile() (#2839) 2022-03-30 13:25:41 -05:00
verify.h refactor: remove callback from tr_torrentVerify() public API (#2592) 2022-02-09 12:02:59 -06:00
version.h.in
watchdir-common.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
watchdir-generic.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
watchdir-inotify.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
watchdir-kqueue.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
watchdir-win32.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
watchdir.cc refactor: make err arg optional in tr_sys_* funcs (#2827) 2022-03-27 12:37:29 -05:00
watchdir.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
web-utils.cc refactor: remove tr_snprintf() (#2872) 2022-04-04 13:36:48 -05:00
web-utils.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
web.cc refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
web.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
webseed.cc refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
webseed.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
wildmat.c refactor: tr_parseNumberRange returns std::vector. (#1838) 2021-09-25 14:37:28 -05:00