From a2d9a23d44ab4867f7d6a67e73acaccfbaca00b4 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 30 Jan 2017 16:13:13 +0000 Subject: [PATCH] Also update readline patches OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=232 --- bash.changes | 14 ++++++++++++++ readline-7.0-patches.tar.bz2 | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/bash.changes b/bash.changes index 3c894d48..5702a1e1 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jan 30 16:11:13 UTC 2017 - werner@suse.de + +- Add upstream patch readline70-002 which replace old one + There is a race condition in add_history() that can be triggered by a fatal + signal arriving between the time the history length is updated and the time + the history list update is completed. A later attempt to reference an + invalid history entry can cause a crash. +- Add upstream patch readline70-003 + Readline-7.0 uses pselect(2) to allow readline to handle signals that do not + interrupt read(2), such as SIGALRM, before reading another character. The + signal mask used in the pselect call did not take into account signals the + calling application blocked before calling readline(). + ------------------------------------------------------------------- Fri Jan 27 17:31:59 UTC 2017 - werner@suse.de diff --git a/readline-7.0-patches.tar.bz2 b/readline-7.0-patches.tar.bz2 index 796dac12..620d2d14 100644 --- a/readline-7.0-patches.tar.bz2 +++ b/readline-7.0-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7a5a7db9aa69394d33787760be74bea581a3ecf1116c5e3f1e7d925ed5da4b57 -size 1789 +oid sha256:124afcc31358e26635dcbc070a397276ca9754366610219a720ac7372e4504ef +size 2455