Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rtorrent for openSUSE:Factory checked in at 2026-05-04 12:53:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rtorrent (Old) and /work/SRC/openSUSE:Factory/.rtorrent.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rtorrent" Mon May 4 12:53:47 2026 rev:30 rq:1350483 version:0.16.11 Changes: -------- --- /work/SRC/openSUSE:Factory/rtorrent/rtorrent.changes 2026-04-23 17:14:27.716997010 +0200 +++ /work/SRC/openSUSE:Factory/.rtorrent.new.30200/rtorrent.changes 2026-05-04 12:56:54.081836764 +0200 @@ -1,0 +2,6 @@ +Sat May 2 20:46:19 UTC 2026 - Jan Engelhardt <[email protected]> + +- Update to release 0.16.11 + * Fix an off-by-one in `SCgiTask::event_read` + +------------------------------------------------------------------- Old: ---- rtorrent-0.16.10.tar.gz New: ---- rtorrent-0.16.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rtorrent.spec ++++++ --- /var/tmp/diff_new_pack.X51Nst/_old 2026-05-04 12:56:54.617858825 +0200 +++ /var/tmp/diff_new_pack.X51Nst/_new 2026-05-04 12:56:54.617858825 +0200 @@ -17,7 +17,7 @@ Name: rtorrent -Version: 0.16.10 +Version: 0.16.11 Release: 0 Summary: Console-based BitTorrent client License: SUSE-GPL-2.0+-with-openssl-exception ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.X51Nst/_old 2026-05-04 12:56:54.657860471 +0200 +++ /var/tmp/diff_new_pack.X51Nst/_new 2026-05-04 12:56:54.661860636 +0200 @@ -1,5 +1,5 @@ -mtime: 1776947752 -commit: 71c0665d5d856f512f7486a4d8be04f6c54cd0214625a6a8b435dd8b4bb1fc07 +mtime: 1777754798 +commit: 458f70b2479d6ff4504c23521c1595b7151b7ecba6b78c8117aa376ee1ae2ad5 url: https://src.opensuse.org/jengelh/rtorrent revision: master ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-05-02 22:46:38.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ rtorrent-0.16.10.tar.gz -> rtorrent-0.16.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtorrent-0.16.10/configure new/rtorrent-0.16.11/configure --- old/rtorrent-0.16.10/configure 2026-04-23 10:57:18.000000000 +0200 +++ new/rtorrent-0.16.11/configure 2026-05-01 11:58:19.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for rtorrent 0.16.10. +# Generated by GNU Autoconf 2.72 for rtorrent 0.16.11. # # Report bugs to <[email protected]>. # @@ -614,8 +614,8 @@ # Identity of this package. PACKAGE_NAME='rtorrent' PACKAGE_TARNAME='rtorrent' -PACKAGE_VERSION='0.16.10' -PACKAGE_STRING='rtorrent 0.16.10' +PACKAGE_VERSION='0.16.11' +PACKAGE_STRING='rtorrent 0.16.11' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1419,7 +1419,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures rtorrent 0.16.10 to adapt to many kinds of systems. +'configure' configures rtorrent 0.16.11 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1490,7 +1490,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of rtorrent 0.16.10:";; + short | recursive ) echo "Configuration of rtorrent 0.16.11:";; esac cat <<\_ACEOF @@ -1645,7 +1645,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -rtorrent configure 0.16.10 +rtorrent configure 0.16.11 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -2274,7 +2274,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by rtorrent $as_me 0.16.10, which was +It was created by rtorrent $as_me 0.16.11, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -3967,7 +3967,7 @@ # Define the identity of the package. PACKAGE='rtorrent' - VERSION='0.16.10' + VERSION='0.16.11' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -21661,19 +21661,19 @@ fi pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libtorrent >= 0.16.10" >&5 -printf %s "checking for libtorrent >= 0.16.10... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libtorrent >= 0.16.11" >&5 +printf %s "checking for libtorrent >= 0.16.11... " >&6; } if test -n "$DEPENDENCIES_CFLAGS"; then pkg_cv_DEPENDENCIES_CFLAGS="$DEPENDENCIES_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent >= 0.16.10\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libtorrent >= 0.16.10") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent >= 0.16.11\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libtorrent >= 0.16.11") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "libtorrent >= 0.16.10" 2>/dev/null` + pkg_cv_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "libtorrent >= 0.16.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -21685,12 +21685,12 @@ pkg_cv_DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent >= 0.16.10\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libtorrent >= 0.16.10") 2>&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent >= 0.16.11\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libtorrent >= 0.16.11") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "libtorrent >= 0.16.10" 2>/dev/null` + pkg_cv_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "libtorrent >= 0.16.11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -21711,14 +21711,14 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtorrent >= 0.16.10" 2>&1` + DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtorrent >= 0.16.11" 2>&1` else - DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent >= 0.16.10" 2>&1` + DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent >= 0.16.11" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DEPENDENCIES_PKG_ERRORS" >&5 - as_fn_error $? "Package requirements (libtorrent >= 0.16.10) were not met: + as_fn_error $? "Package requirements (libtorrent >= 0.16.11) were not met: $DEPENDENCIES_PKG_ERRORS @@ -23399,7 +23399,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by rtorrent $as_me 0.16.10, which was +This file was extended by rtorrent $as_me 0.16.11, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -23467,7 +23467,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -rtorrent config.status 0.16.10 +rtorrent config.status 0.16.11 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtorrent-0.16.10/configure.ac new/rtorrent-0.16.11/configure.ac --- old/rtorrent-0.16.10/configure.ac 2026-04-23 10:48:21.000000000 +0200 +++ new/rtorrent-0.16.11/configure.ac 2026-05-01 11:48:57.000000000 +0200 @@ -1,6 +1,6 @@ m4_pattern_allow([PKG_CHECK_EXISTS]) -AC_INIT([rtorrent],[0.16.10],[[email protected]]) +AC_INIT([rtorrent],[0.16.11],[[email protected]]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIRS([scripts]) @@ -49,7 +49,7 @@ PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"]) PKG_CHECK_MODULES([ZLIB], [zlib]) -PKG_CHECK_MODULES([DEPENDENCIES], [libtorrent >= 0.16.10]) +PKG_CHECK_MODULES([DEPENDENCIES], [libtorrent >= 0.16.11]) AC_LANG_PUSH(C++) TORRENT_WITH_XMLRPC_C diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtorrent-0.16.10/src/rpc/scgi_task.cc new/rtorrent-0.16.11/src/rpc/scgi_task.cc --- old/rtorrent-0.16.10/src/rpc/scgi_task.cc 2026-04-23 10:48:21.000000000 +0200 +++ new/rtorrent-0.16.11/src/rpc/scgi_task.cc 2026-05-01 11:48:57.000000000 +0200 @@ -80,7 +80,15 @@ void SCgiTask::event_read() { - int bytes = ::recv(m_fileDesc, m_buffer.data() + m_position, m_buffer.size() - m_position, 0); + int read_length = m_buffer.size() - m_position; + + if (m_content_length == 0) + read_length--; + + if (read_length <= 0) + throw torrent::internal_error("SCgiTask::event_read() no space in buffer for event_read."); + + int bytes = ::recv(m_fileDesc, m_buffer.data() + m_position, read_length, 0); if (bytes <= 0) { if (bytes == 0 || !(errno == EAGAIN || errno == EINTR))
