Last change
on this file since 439f083 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[c5c522c] | 1 | BASH PATCH REPORT |
---|
| 2 | ================= |
---|
| 3 | |
---|
| 4 | Bash-Release: 4.3 |
---|
| 5 | Patch-ID: bash43-003 |
---|
| 6 | |
---|
| 7 | Bug-Reported-by: Anatol Pomozov <anatol.pomozov@gmail.com> |
---|
| 8 | Bug-Reference-ID: <CAOMFOmXy3mT2So5GQ5F-smCVArQuAeBwZ2QKzgCtMeXJoDeYOQ@mail.gmail.com> |
---|
| 9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00010.html |
---|
| 10 | |
---|
| 11 | Bug-Description: |
---|
| 12 | |
---|
| 13 | When in callback mode, some readline commands can cause readline to seg |
---|
| 14 | fault by passing invalid contexts to callback functions. |
---|
| 15 | |
---|
| 16 | Patch (apply with `patch -p0'): |
---|
| 17 | |
---|
| 18 | *** ../bash-4.3/lib/readline/readline.c 2013-10-28 14:58:06.000000000 -0400 |
---|
| 19 | --- lib/readline/readline.c 2014-03-10 14:15:02.000000000 -0400 |
---|
| 20 | *************** |
---|
| 21 | *** 745,749 **** |
---|
| 22 | |
---|
| 23 | RL_CHECK_SIGNALS (); |
---|
| 24 | ! if (r == 0) /* success! */ |
---|
| 25 | { |
---|
| 26 | _rl_keyseq_chain_dispose (); |
---|
| 27 | --- 745,750 ---- |
---|
| 28 | |
---|
| 29 | RL_CHECK_SIGNALS (); |
---|
| 30 | ! /* We only treat values < 0 specially to simulate recursion. */ |
---|
| 31 | ! if (r >= 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */ |
---|
| 32 | { |
---|
| 33 | _rl_keyseq_chain_dispose (); |
---|
| 34 | *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500 |
---|
| 35 | --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400 |
---|
| 36 | *************** |
---|
| 37 | *** 26,30 **** |
---|
| 38 | looks for to find the patch level (for the sccs version string). */ |
---|
| 39 | |
---|
| 40 | ! #define PATCHLEVEL 2 |
---|
| 41 | |
---|
| 42 | #endif /* _PATCHLEVEL_H_ */ |
---|
| 43 | --- 26,30 ---- |
---|
| 44 | looks for to find the patch level (for the sccs version string). */ |
---|
| 45 | |
---|
| 46 | ! #define PATCHLEVEL 3 |
---|
| 47 | |
---|
| 48 | #endif /* _PATCHLEVEL_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.