]> git.pld-linux.org Git - packages/bash.git/blob - bash31-013
- 3.1 patchlevel 017
[packages/bash.git] / bash31-013
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release: 3.1
5 Patch-ID: bash31-013
6
7 Bug-Reported-by: Bob Rossi <bob@brasko.net>
8 Bug-Reference-ID: <43F60606.80708@case.edu>
9 Bug-Reference-URL:
10
11 Bug-Description:
12
13 In some cases, readline will reference freed memory when attempting to
14 display a portion of the prompt.
15
16 Patch:
17
18 *** ../bash-3.1-patched/lib/readline/readline.c Mon Jul  4 22:29:35 2005
19 --- lib/readline/readline.c     Fri Feb 17 22:54:22 2006
20 ***************
21 *** 282,287 ****
22 --- 282,288 ----
23   {
24     FREE (rl_prompt);
25     rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
26 +   rl_display_prompt = rl_prompt ? rl_prompt : "";
27   
28     rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
29     return 0;
30 *** ../bash-3.1/patchlevel.h    Wed Jul 20 13:58:20 2005
31 --- patchlevel.h        Wed Dec  7 13:48:42 2005
32 ***************
33 *** 26,30 ****
34      looks for to find the patch level (for the sccs version string). */
35   
36 ! #define PATCHLEVEL 12
37   
38   #endif /* _PATCHLEVEL_H_ */
39 --- 26,30 ----
40      looks for to find the patch level (for the sccs version string). */
41   
42 ! #define PATCHLEVEL 13
43   
44   #endif /* _PATCHLEVEL_H_ */
This page took 0.045929 seconds and 3 git commands to generate.