]>
Commit | Line | Data |
---|---|---|
ca3cd23c | 1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 2.05b | |
5 | Patch-ID: bash205b-001 | |
6 | ||
7 | Bug-Reported-by: taviso@sdf.lonestar.org | |
8 | Bug-Reference-ID: <200208021107.g72B723d021352@darkstar.example.net> | |
9 | Bug-Reference-URL: http://mail.gnu.org/pipermail/bug-bash/2002-August/004980.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | Bash goes into an infinite loop and eventually crashes with a SIGSEGV | |
14 | when some keys on the numeric keypad are pressed, possibly in combination | |
15 | with the shift key. | |
16 | ||
17 | Patch: | |
18 | ||
19 | *** ../bash-2.05b/lib/readline/bind.c Thu Jan 24 11:15:52 2002 | |
20 | --- lib/readline/bind.c Wed Jul 31 09:11:18 2002 | |
21 | *************** | |
22 | *** 312,316 **** | |
23 | and the function bound to `a' to be executed when the user | |
24 | types `abx', leaving `bx' in the input queue. */ | |
25 | ! if (k.function /* && k.type == ISFUNC */) | |
26 | { | |
27 | map[ANYOTHERKEY] = k; | |
28 | --- 312,316 ---- | |
29 | and the function bound to `a' to be executed when the user | |
30 | types `abx', leaving `bx' in the input queue. */ | |
31 | ! if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR)) | |
32 | { | |
33 | map[ANYOTHERKEY] = k; |