Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2025-12-12 21:40:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "readline" Fri Dec 12 21:40:12 2025 rev:19 rq:1322182 version:8.3.MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/readline/readline.changes 2025-08-13 16:30:10.075540295 +0200 +++ /work/SRC/openSUSE:Factory/.readline.new.1939/readline.changes 2025-12-12 21:40:15.802522520 +0100 @@ -1,0 +2,12 @@ +Thu Dec 11 10:09:17 UTC 2025 - Dr. Werner Fink <[email protected]> + +- Add upstream patches + * readline83-002 + If an application calls rl_save_prompt, which sets rl_prompt to NULL, + without calling rl_set_prompt to set it to a new value, readline redisplay + can dereference a NULL pointer. + * readline83-003 + A SIGINT during a reverse i-search can cause a segmentation fault due to + accessing data freed by a signal handler. + +------------------------------------------------------------------- New: ---- readline83-002 readline83-002.sig readline83-003 readline83-003.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ readline.spec ++++++ --- /var/tmp/diff_new_pack.4sRqcn/_old 2025-12-12 21:40:18.538637842 +0100 +++ /var/tmp/diff_new_pack.4sRqcn/_new 2025-12-12 21:40:18.542638011 +0100 @@ -1,7 +1,7 @@ # # spec file for package readline # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,8 +36,12 @@ Source4: https://tiswww.case.edu/php/chet/gpgkey.asc#/%{name}.keyring # official patches Patch101: readline83-001 +Patch102: readline83-002 +Patch103: readline83-003 # signatures for official patches Source101: readline83-001.sig +Source102: readline83-002.sig +Source103: readline83-003.sig # local patches Patch200: readline-%{rversion}.dif Patch201: readline-6.3-input.dif @@ -111,6 +115,8 @@ %setup -q -n readline-%{rversion}%{rextend} # official patches %patch -P101 -p0 +%patch -P102 -p0 +%patch -P103 -p0 # local patches %patch -P201 -p2 -b .zerotty %patch -P202 -p2 -b .conf ++++++ readline83-002 ++++++ READLINE PATCH REPORT ===================== Readline-Release: 8.3 Patch-ID: readline83-002 Bug-Reported-by: Tobias Powalowski <[email protected]> Bug-Reference-ID: <[email protected]> Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00005.html Bug-Description: If an application calls rl_save_prompt, which sets rl_prompt to NULL, without calling rl_set_prompt to set it to a new value, readline redisplay can dereference a NULL pointer. Patch (apply with `patch -p0'): *** ../readline-8.3/display.c Fri May 2 09:20:32 2025 --- display.c Sun Jul 6 17:16:28 2025 *************** *** 784,788 **** /* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */ #define INVIS_FIRST() (local_prompt_invis_chars[0]) ! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line) ? local_prompt_invis_chars[line] : 0) #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0) --- 784,788 ---- /* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */ #define INVIS_FIRST() (local_prompt_invis_chars[0]) ! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0) #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0) *** ../readline-8.2/patchlevel 2013-11-15 08:11:11.000000000 -0500 --- patchlevel 2014-03-21 08:28:40.000000000 -0400 *************** *** 1,3 **** # Do not edit -- exists only for use by patch ! 1 --- 1,3 ---- # Do not edit -- exists only for use by patch ! 2 ++++++ readline83-003 ++++++ READLINE PATCH REPORT ===================== Readline-Release: 8.3 Patch-ID: readline83-003 Bug-Reported-by: penguin p <[email protected]> Bug-Reference-ID: <tyypr01mb14049c63d4635628ee867664bfa...@tyypr01mb14049.jpnprd01.prod.outlook.com> Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2025-08/msg00080.html Bug-Description: A SIGINT during a reverse i-search can cause a segmentation fault due to accessing data freed by a signal handler. Patch (apply with `patch -p0'): *** ../readline-8.3-patched/input.c Tue Jul 8 15:37:13 2025 --- input.c Fri Aug 22 15:04:05 2025 *************** *** 976,984 **** if (rl_signal_event_hook) (*rl_signal_event_hook) (); ! #if defined (READLINE_CALLBACKS) ! else if (osig == SIGINT && (ostate & RL_STATE_CALLBACK) && (ostate & (RL_STATE_ISEARCH|RL_STATE_NSEARCH|RL_STATE_NUMERICARG))) /* just these cases for now */ _rl_abort_internal (); - #endif } } --- 1004,1012 ---- if (rl_signal_event_hook) (*rl_signal_event_hook) (); ! /* If the application's SIGINT handler returns, make sure we abort out of ! searches and numeric arguments because we've freed necessary state. */ ! if (osig == SIGINT && (ostate & (RL_STATE_ISEARCH|RL_STATE_NSEARCH|RL_STATE_NUMERICARG))) /* just these cases for now */ _rl_abort_internal (); } } *** ../readline-8.3-patched/isearch.c Thu Jun 5 09:22:11 2025 --- isearch.c Tue Aug 19 14:55:55 2025 *************** *** 890,899 **** _rl_isearch_cleanup (_rl_search_cxt *cxt, int r) { if (r >= 0) _rl_isearch_fini (cxt); _rl_scxt_dispose (cxt, 0); - _rl_iscxt = 0; - - RL_UNSETSTATE(RL_STATE_ISEARCH); return (r != 0); --- 890,901 ---- _rl_isearch_cleanup (_rl_search_cxt *cxt, int r) { + RL_UNSETSTATE(RL_STATE_ISEARCH); + if (cxt == 0) + return (r != 0); + + _rl_iscxt = 0; if (r >= 0) _rl_isearch_fini (cxt); _rl_scxt_dispose (cxt, 0); return (r != 0); *** ../readline-8.3/patchlevel 2013-11-15 08:11:11.000000000 -0500 --- patchlevel 2024-03-21 08:28:40.000000000 -0400 *************** *** 1,3 **** # Do not edit -- exists only for use by patch ! 2 --- 1,3 ---- # Do not edit -- exists only for use by patch ! 3
