5 Patch-ID: readline51-003
7 Bug-Reported-by: Bob Rossi <bob@brasko.net>
8 Bug-Reference-ID: <43F60606.80708@case.edu>
13 In some cases, readline will reference freed memory when attempting to
14 display a portion of the prompt.
18 *** readline-5.1/readline.c Tue Dec 20 17:38:29 2005
19 --- readline-5.1/readline.c Fri Feb 17 22:54:22 2006
25 rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
26 + rl_display_prompt = rl_prompt ? rl_prompt : "";
28 rl_visible_prompt_length = rl_expand_prompt (rl_prompt);