This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
faf4904
commit 7e6296e
Showing
2 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
BASH PATCH REPORT | ||
================= | ||
|
||
Bash-Release: 4.4 | ||
Patch-ID: bash44-019 | ||
|
||
Bug-Reported-by: Kieran Grant <[email protected]> | ||
Bug-Reference-ID: <[email protected]> | ||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2018-02/msg00002.html | ||
|
||
Bug-Description: | ||
|
||
With certain values for PS1, especially those that wrap onto three or more | ||
lines, readline will miscalculate the number of invisible characters, | ||
leading to crashes and core dumps. | ||
|
||
Patch (apply with `patch -p0'): | ||
|
||
*** ../bash-4.4.18/lib/readline/display.c 2016-07-28 14:49:33.000000000 -0400 | ||
--- lib/readline/display.c 2018-02-03 19:19:35.000000000 -0500 | ||
*************** | ||
*** 772,776 **** | ||
wadjust = (newlines == 0) | ||
? prompt_invis_chars_first_line | ||
! : ((newlines == prompt_lines_estimate) ? wrap_offset : prompt_invis_chars_first_line); | ||
|
||
/* fix from Darin Johnson <[email protected]> for prompt string with | ||
--- 788,794 ---- | ||
wadjust = (newlines == 0) | ||
? prompt_invis_chars_first_line | ||
! : ((newlines == prompt_lines_estimate) | ||
! ? (wrap_offset - prompt_invis_chars_first_line) | ||
! : 0); | ||
|
||
/* fix from Darin Johnson <[email protected]> for prompt string with | ||
*** ../bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400 | ||
--- patchlevel.h 2016-10-01 11:01:28.000000000 -0400 | ||
*************** | ||
*** 26,30 **** | ||
looks for to find the patch level (for the sccs version string). */ | ||
|
||
! #define PATCHLEVEL 18 | ||
|
||
#endif /* _PATCHLEVEL_H_ */ | ||
--- 26,30 ---- | ||
looks for to find the patch level (for the sccs version string). */ | ||
|
||
! #define PATCHLEVEL 19 | ||
|
||
#endif /* _PATCHLEVEL_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
VER=4.4.18 | ||
VER=4.4.19 | ||
SRCTBL="https://ftp.gnu.org/gnu/bash/bash-${VER:0:3}.tar.gz" |