Commit Graph

  • 4c0535b1fa Align the XML-RPC command stack so torrent::Object is not constructed on a 4-byte boundary. master Silas Mariusz 2026-09-28 10:26:57 +00:00
  • d59765fda4 Added legacy UTF-8 torrent name and path handling. Jari Sundell 2026-10-04 13:36:29 +02:00
  • 66c49d24e5 Use heap allocated buffer for rpc::ExecFile::execute_object() and increase size to 128Kb. Silas Mariusz 2026-09-28 10:26:57 +00:00
  • f6ea7b326f Merge branch 'master' into silasmariusz-exec-arg-buffer silasmariusz-exec-arg-buffer rakshasa 2026-10-04 09:35:41 +02:00
  • 4492474f7e Use heap allocated buffer for rpc::ExecFile::execute_object() and increase size to 128Kb. Silas Mariusz 2026-09-28 10:26:57 +00:00
  • 3af0410a6e Restrict parse value to strtoll with restrictions on input. rakshasa 2026-09-30 12:26:37 +02:00
  • 3c94b03323 Restrict parse value to strtoll with restrictions on input. rakshasa 2026-09-30 12:26:33 +02:00
  • c5d54fbb97 Restrict parse value to strtoll with restrictions on input. rakshasa 2026-09-30 12:01:13 +02:00
  • 8e5fb72867 Reverted parse value to strtoll with restrictions on input. xirvik-fix/rpc-value-range-checks rakshasa 2026-09-30 11:57:12 +02:00
  • 880d381839 Mark the system.file.allocate getter untrusted-safe, because d.open reads it. Silas Mariusz 2026-09-28 10:26:57 +00:00
  • b9782c71f5 Do not switch an active download to initial_seed noctuum 2026-09-29 09:43:00 +05:00
  • 2688f27f0a Check m_entry against size() in set_entry noctuum 2026-09-28 17:34:21 +05:00
  • 24ce818aaf Read the unpacked object in the raw string case noctuum 2026-09-28 17:02:42 +05:00
  • 12f3d6fe8f Remove code that has no remaining user noctuum 2026-09-28 18:04:03 +05:00
  • 101ce5924c Reset the freed pointers in XmlRpc::cleanup noctuum 2026-09-28 17:24:13 +05:00
  • 4bf094b6de Check first against last in parse_object noctuum 2026-09-28 16:18:02 +05:00
  • a84743b008 Sort the transfer chunks by index noctuum 2026-09-28 01:20:27 +05:00
  • eebfb5f5e5 Check pthread_sigmask by its return value noctuum 2026-09-28 00:50:54 +05:00
  • 991ebdabe0 Reject an empty argument list in execute_lua noctuum 2026-09-27 23:50:55 +05:00
  • 2aaf1cbfd1 Limit tab completion to text before the cursor noctuum 2026-09-27 22:39:35 +05:00
  • b5b37a2e07 Guard control in the main catch handlers noctuum 2026-09-24 15:42:01 +05:00
  • 4831a44879 Stop at max_active in scheduler.simple.removed noctuum 2026-09-24 18:02:56 +05:00
  • 14c8d2b470 Sync the session directory after committing the renames xirvik 2026-09-19 02:24:52 +00:00
  • 15756ddadc Reorder mutex and atomic variable declarations Jari Sundell 2026-09-24 00:21:19 +09:00
  • e0c0d96aba Give SessionManager::m_active its own cache line xirvik 2026-09-23 15:04:58 +00:00
  • 7fbe54d4dd Make SessionManager::m_active atomic xirvik 2026-09-19 02:00:21 +00:00
  • 41209bc14d Guard the download against handlers that erase it mid-close xirvik 2026-09-23 18:16:29 +00:00
  • 47eb1432b6 Write session files with O_NOFOLLOW and mode 0600 xirvik 2026-09-19 01:55:14 +00:00
  • d16263701a rpc: multicall requires methodName as the struct's first member xirvik 2026-09-19 04:19:41 +00:00
  • d3f4d18164 Bound JSON-RPC input by size and nesting depth xirvik 2026-09-19 02:11:20 +00:00
  • 6c6d2b9333 Range-check global throttle rates before narrowing them to kB. xirvik 2026-09-19 00:55:27 +00:00
  • 44d51171e1 Mark the system.file.allocate getter untrusted-safe, because d.open reads it. Silas Mariusz 2026-09-28 10:26:57 +00:00
  • 184a6cb796 Merge branch 'master' into silasmariusz-untrusted-safe-file-allocate silasmariusz-untrusted-safe-file-allocate rakshasa 2026-09-30 10:05:01 +02:00
  • 11885cbb59 Mark the system.file.allocate getter untrusted-safe, because d.open reads it. Silas Mariusz 2026-09-28 10:26:57 +00:00
  • dc916278c2 Do not switch an active download to initial_seed noctuum 2026-09-29 09:43:00 +05:00
  • 366b936ded Check m_entry against size() in set_entry noctuum 2026-09-28 17:34:21 +05:00
  • 8bcc4c6e92 Read the unpacked object in the raw string case noctuum 2026-09-28 17:02:42 +05:00
  • 5421a35349 Remove code that has no remaining user noctuum 2026-09-28 18:04:03 +05:00
  • d5ce0984fc Reset the freed pointers in XmlRpc::cleanup noctuum 2026-09-28 17:24:13 +05:00
  • a89ce3cd7b Check first against last in parse_object noctuum 2026-09-28 16:18:02 +05:00
  • d98a441dc4 Sort the transfer chunks by index noctuum 2026-09-28 01:20:27 +05:00
  • fc6e57c3fa Check pthread_sigmask by its return value noctuum 2026-09-28 00:50:54 +05:00
  • 8e23ba8b17 Reject an empty argument list in execute_lua noctuum 2026-09-27 23:50:55 +05:00
  • e656801cfa Limit tab completion to text before the cursor noctuum 2026-09-27 22:39:35 +05:00
  • 9f6fd7994e Guard control in the main catch handlers noctuum 2026-09-24 15:42:01 +05:00
  • bb77aa644c Stop at max_active in scheduler.simple.removed noctuum 2026-09-24 18:02:56 +05:00
  • 83a5e7687b Sync the session directory after committing the renames xirvik 2026-09-19 02:24:52 +00:00
  • 910b9b35fc Reorder mutex and atomic variable declarations Jari Sundell 2026-09-24 00:21:19 +09:00
  • e3051df78c Give SessionManager::m_active its own cache line xirvik 2026-09-23 15:04:58 +00:00
  • 21287a1355 Make SessionManager::m_active atomic xirvik 2026-09-19 02:00:21 +00:00
  • 6471dc181e Guard the download against handlers that erase it mid-close xirvik 2026-09-23 18:16:29 +00:00
  • a5c39566c8 Write session files with O_NOFOLLOW and mode 0600 xirvik 2026-09-19 01:55:14 +00:00
  • 019c16a077 rpc: multicall requires methodName as the struct's first member xirvik 2026-09-19 04:19:41 +00:00
  • f79cb257d7 Reject out-of-range RPC values instead of narrowing them silently. xirvik 2026-09-19 01:03:55 +00:00
  • 439d23ce62 Bound JSON-RPC input by size and nesting depth xirvik 2026-09-19 02:11:20 +00:00
  • 83b03c2c1e Range-check global throttle rates before narrowing them to kB. xirvik 2026-09-19 00:55:27 +00:00
  • 05cdd03cd2 Tagged release 0.16.24. v0.16.24 rakshasa 2026-09-22 15:24:24 +02:00
  • d1a6942ea7 Keep the object_storage key terminator inside the key buffer xirvik 2026-09-19 04:13:12 +00:00
  • 3652329e2d Pass the typed download filter as an argument, not command text xirvik 2026-09-19 02:41:26 +00:00
  • 7916e6022f Stop the value command on the untrusted-safe allowlist crashing the daemon xirvik 2026-09-19 20:02:11 +00:00
  • c59da0848e Dump the ipv4 filter by reference instead of copying the whole map xirvik 2026-09-19 20:01:44 +00:00
  • e2f66ff08c Drop the address range parser and its includes, dead since 29edda2f xirvik 2026-09-19 20:01:44 +00:00
  • f0b6f2cb47 Fail p.multicall when a command changes the connection list xirvik 2026-09-19 16:01:44 +00:00
  • d334b8d339 Stop printing a strerror of si_errno in the SIGBUS dump xirvik 2026-09-19 04:41:24 +00:00
  • 19b71a98b7 Fix data race reading the log buffer from the display thread xirvik 2026-09-19 01:58:17 +00:00
  • 8ee3b984dd Give network.xmlrpc.size_limit.set a floor xirvik 2026-09-19 02:23:52 +00:00
  • 4e7129c71c Keep starting when the DHT cache file is rejected xirvik 2026-09-19 02:22:18 +00:00
  • 80ae6a4590 Answer an oversized RPC response with a fault xirvik 2026-09-19 01:58:29 +00:00
  • 2086e8e780 Check the argument count before indexing config comment log args xirvik 2026-09-19 01:06:31 +00:00
  • d9439d7a95 Dispatch view.event_added over the added half of the changed range xirvik 2026-09-19 01:11:49 +00:00
  • 0d3404576a Reject a throttle rate that overflows noctuum 2026-09-19 00:10:04 +05:00
  • 84a0d86f2c Own the fault string in xmlrpc_error_c noctuum 2026-09-18 23:14:43 +05:00
  • 1b15b7c518 Report a failed write in log.vmmap.dump noctuum 2026-09-18 22:17:59 +05:00
  • b1be898ba1 Reject an over-long or empty object_storage key noctuum 2026-09-18 14:56:13 +05:00
  • bd00b5f6fe Use explicit device name binding rather than a custom syntax. Jari Sundell 2026-09-18 16:19:43 +02:00
  • b34eb1e895 Own the download factory until commit noctuum 2026-09-18 13:41:46 +05:00
  • b857acd081 Increment d.state_counter on pause noctuum 2026-09-18 13:03:28 +05:00
  • 988aca1281 Release the scgi task buffer on close noctuum 2026-09-18 12:36:58 +05:00
  • 378c7ee854 Reject a throttle rate that does not parse noctuum 2026-09-18 09:41:41 +05:00
  • da9606bfae Take ownership of the magnet metadata object noctuum 2026-09-16 18:16:32 +05:00
  • 8423803b6e Check the flush on the dht cache and history noctuum 2026-09-16 19:27:31 +05:00
  • c1ce2febf0 Reject an over-long line instead of truncating noctuum 2026-09-16 17:31:22 +05:00
  • 5ebb7bd151 Call the target deleter in the tinyxml2 backend noctuum 2026-09-16 16:58:48 +05:00
  • 50f0cad0c6 Release the xmlrpc array item on a throw noctuum 2026-09-16 16:41:01 +05:00
  • 3717649bb3 Guard the value iterator in method.insert.list noctuum 2026-09-16 16:27:47 +05:00
  • c32b56e9d8 Do not reschedule a deleted scheduler item noctuum 2026-09-16 11:48:04 +05:00
  • de54a4c2ad Clamp the negative width in wstring_width noctuum 2026-09-16 12:07:44 +05:00
  • 26fdca8f4d Use empty_visible in the view focus movers noctuum 2026-09-16 11:31:29 +05:00
  • 00bcdaee23 Check the info-hash target in p.call_target noctuum 2026-09-16 10:34:55 +05:00
  • 3787dbe7f3 Tagged release 0.16.23. v0.16.23 rakshasa 2026-09-15 14:49:21 +02:00
  • f9b9629235 Merge branch 'master' into feature/ipc-worker feature/ipc-worker rakshasa 2026-09-15 14:40:49 +02:00
  • 282c86597a Fix a use after free in the xmlrpc-c index path noctuum 2026-09-13 08:46:51 +05:00
  • c41e63248a Check the flush and sync on session file writes noctuum 2026-09-13 08:44:32 +05:00
  • 641626029a Fix a one byte write past address_copy noctuum 2026-09-13 08:26:40 +05:00
  • 76e0554d28 Update development section with release page link gh-pages Jari Sundell 2026-09-13 18:52:32 +09:00
  • b597be2e75 Update links to libtorrent and rtorrent versions Jari Sundell 2026-09-13 18:50:07 +09:00
  • 0c507c581f Release the zlib deflate state in gzip_compress_to_vector. noctuum 2026-09-13 08:12:53 +05:00
  • af0b600b54 Add unit tests for ipv4_range_parse. noctuum 2026-09-13 07:33:01 +05:00
  • c984a69fd1 Fix cidr /32 ip filter entries covering everything above the address. noctuum 2026-09-13 07:33:01 +05:00
  • 20002ce937 Fix false invalid session error on empty URI Jakob Breivik Grimstveit 2026-09-11 01:06:46 +02:00