Debian Patches

Status for readline/8.2-5

Patch Description Author Forwarded Bugs Origin Last update
readline82-001.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Kan-Ru Chen <koster@debian.org>
Bug-Reference-ID:
Bug-Reference-URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021109

Bug-Description:

Starting a readline application with an invalid locale specification for
LC_ALL/LANG/LC_CTYPE can cause it crash on the first call to readline.
no
readline82-002.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: srobertson@peratonlabs.com
Bug-Reference-ID:
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00049.html

Bug-Description:

It's possible for readline to try to zero out a line that's not null-
terminated, leading to a memory fault.
no
readline82-003.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Stefan Klinger <readline-gnu.org@stefan-klinger.de>
Bug-Reference-ID:
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2023-08/msg00018.html

Bug-Description:

The custom color prefix that readline uses to color possible completions
must have a leading `.'.
no
readline82-004.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Henry Bent <henry.r.bent@gmail.com>
Bug-Reference-ID:
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2022-11/msg00044.html

Bug-Description:

There are systems that supply one of select or pselect, but not both.
no
readline82-005.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Simon Marchi <simon.marchi@polymtl.ca>
Bug-Reference-ID:
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2022-09/msg00005.html

Bug-Description:

If an application is using readline in callback mode, and a signal arrives
after readline checks for it in rl_callback_read_char() but before it
restores the application's signal handlers, it won't get processed until the
next time the application calls rl_callback_read_char(). Readline needs to
check for and resend any pending signals after restoring the application's
signal handlers.
no
readline82-006.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Tom de Vries <tdevries@suse.de>
Bug-Reference-ID:
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2022-09/msg00001.html

Bug-Description:

This is a variant of the same issue as the one fixed by patch 5. In this
case, the signal arrives and is pending before readline calls rl_getc().
When this happens, the pending signal will be handled by the loop, but may
alter or destroy some state that the callback uses. Readline needs to treat
this case the same way it would if a signal interrupts pselect/select, so
compound operations like searches and reading numeric arguments get cleaned
up properly.
no
readline82-007.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Kevin Pulo <kev@pulo.com.au>
Bug-Reference-ID:
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2022-11/msg00002.html

Bug-Description:

If readline is called with no prompt, it should display a newline if return
is typed on an empty line. It should still suppress the final newline if
return is typed on the last (empty) line of a multi-line command.
no
readline82-008.diff READLINE PATCH REPORT
=====================


Bug-Reported-by:
Bug-Reference-ID:
Bug-Reference-URL:

Bug-Description:

Add missing prototypes for several function declarations.
no
readline82-009.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Stefan H. Holek <stefan@epy.co.at>
Bug-Reference-ID: <50F8DA45-B7F3-4DE1-AB94-19AE42649CDC@epy.co.at>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2022-10/msg00021.html

Bug-Description:

Fix issue where the directory name portion of the word to be completed (the
part that is passed to opendir()) requires both tilde expansion and dequoting.
Readline only performed tilde expansion in this case, so filename completion
would fail.
no
readline82-010.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Martin Castillo <castilma@uni-bremen.de>
Bug-Reference-ID: <2d42153b-cf65-caba-dff1-cd3bc6268c7e@uni-bremen.de>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2023-01/msg00000.html

Bug-Description:

Fix the case where text to be completed from the line buffer (quoted) is
compared to the common prefix of the possible matches (unquoted) and the
quoting makes the former appear to be longer than the latter. Readline
assumes the match doesn't add any characters to the word and doesn't display
multiple matches.
no
readline82-011.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Grisha Levit <grishalevit@gmail.com>
Bug-Reference-ID: <CAMu=BrqWa_iNkiEwchpFmtrUhFrAanOO8pjy7VCKqRKUvqdsbw@mail.gmail.com>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2024-02/msg00075.html

Bug-Description:

Some systems (e.g., macOS) send signals early on in interactive initialization,
so readline should retry a failed open of the init file.
no
readline82-012.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Grisha Levit <grishalevit@gmail.com>
Bug-Reference-ID: <CAMu=BroaH+41uumYt89FPqt8Fsatj-d6mZzmPV2HZYjtcbvbvw@mail.gmail.com>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2023-11/msg00019.html

Bug-Description:

If a user happens to bind do-lowercase-version to something that isn't a
capital letter, so _rl_to_lower doesn't change anything and the result is
still bound to do-lowercase-version, readline can recurse infinitely.
no
readline82-013.diff READLINE PATCH REPORT
=====================


Bug-Reported-by: Grisha Levit <grishalevit@gmail.com>
Bug-Reference-ID: <CAMu=Brrv5qKY6LPfw8PxqNXNO8rNsZo0Fb=BcFb-uHObWPqnrw@mail.gmail.
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2023-04/msg00082.html

Bug-Description:

When readline is accumulating bytes until it reads a complete multibyte
character, reading a byte that makes the multibyte character invalid can
result in discarding the bytes in the partial character.
no
rl-attribute.diff rl-attribute.dpatch by <doko@debian.org>

Do not redefine __attribute__, define macro __rl_attribute__
no
rl-header.diff rl-header.dpatch by <doko@debian.org>

Include stdio.h in readline.h and history.h
no
rl-no-cross-check.diff rl-no-cross-check.dpatch by <doko@debian.org> no
rl-no-rpath.diff rl-no-rpath.dpatch by <doko@debian.org>

Don't set a runtime path for linking the shared libraries
no
rlfe-history.diff #! /bin/sh /usr/share/dpatch/dpatch-run
## rlfe-history.dpatch by <andrew@pimlott.net>
##
## DP: Fix rlfe, always writing a history file.

@DPATCH@
no
rlfe-kfreebsd.diff no
rlfe-tinfo.diff # DP: Link rlfe with libtinfo. no
fix-wformat-security.diff Fix compiling with -Werror=format-security. Prevents format string attacks. Simon Ruderich <simon@ruderich.org> no 2012-09-15
configure-tinfo.diff no
rlfe-signal-rvt.diff no
fix-rl_do_undo-crash.diff readline fix for rl_undo_list pointer aliasing; arith command sets word_top Chet Ramey <chet.ramey@case.edu> no 2023-03-06
rlfe-fix-ftbfs.diff no

All known versions for source package 'readline'

Links