summaryrefslogtreecommitdiffstats
path: root/package/readline/readline51-003
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-19 08:53:49 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-19 08:53:49 +0000
commit419daf099c0f4cbdc493916d756e847fa771f8ab (patch)
treec96df9b437dc14d0689905b8ad5704bb7c4198a7 /package/readline/readline51-003
parentb8601dd7ea62a7fa99450878b54c3da58fc06b12 (diff)
downloadbuildroot-novena-419daf099c0f4cbdc493916d756e847fa771f8ab.tar.gz
buildroot-novena-419daf099c0f4cbdc493916d756e847fa771f8ab.zip
grab patches from upstream
Diffstat (limited to 'package/readline/readline51-003')
-rw-r--r--package/readline/readline51-00329
1 files changed, 29 insertions, 0 deletions
diff --git a/package/readline/readline51-003 b/package/readline/readline51-003
new file mode 100644
index 000000000..7cfd7ff31
--- /dev/null
+++ b/package/readline/readline51-003
@@ -0,0 +1,29 @@
+ READLINE PATCH REPORT
+ =====================
+
+Readline-Release: 5.1
+Patch-ID: readline51-003
+
+Bug-Reported-by: Bob Rossi <bob@brasko.net>
+Bug-Reference-ID: <43F60606.80708@case.edu>
+Bug-Reference-URL:
+
+Bug-Description:
+
+In some cases, readline will reference freed memory when attempting to
+display a portion of the prompt.
+
+Patch:
+
+*** readline-5.1/readline.c Tue Dec 20 17:38:29 2005
+--- readline-5.1/readline.c Fri Feb 17 22:54:22 2006
+***************
+*** 282,287 ****
+--- 282,288 ----
+ {
+ FREE (rl_prompt);
+ rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
++ rl_display_prompt = rl_prompt ? rl_prompt : "";
+
+ rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
+ return 0;