Blame SOURCES/bash-4.4-patch-17.patch

3fb13f
From b3a5ec8dd510a68dc850f3f516c0cf9afd87451f Mon Sep 17 00:00:00 2001
3fb13f
From: Chet Ramey <chet.ramey@case.edu>
3fb13f
Date: Mon, 29 Jan 2018 16:04:37 -0500
3fb13f
Subject: [PATCH] Bash-4.4 patch 17
3fb13f
3fb13f
---
3fb13f
 builtins/read.def | 5 +++++
3fb13f
 patchlevel.h      | 2 +-
3fb13f
 2 files changed, 6 insertions(+), 1 deletion(-)
3fb13f
3fb13f
diff --git a/builtins/read.def b/builtins/read.def
3fb13f
index 33821f3f..803bea35 100644
3fb13f
--- a/builtins/read.def
3fb13f
+++ b/builtins/read.def
3fb13f
@@ -690,6 +690,11 @@ add_char:
3fb13f
   input_string[i] = '\0';
3fb13f
   CHECK_ALRM;
3fb13f
 
3fb13f
+#if defined (READLINE)
3fb13f
+  if (edit)
3fb13f
+    free (rlbuf);
3fb13f
+#endif
3fb13f
+
3fb13f
   if (retval < 0)
3fb13f
     {
3fb13f
       t_errno = errno;
3fb13f
diff --git a/patchlevel.h b/patchlevel.h
3fb13f
index 9074f4dd..98e714da 100644
3fb13f
--- a/patchlevel.h
3fb13f
+++ b/patchlevel.h
3fb13f
@@ -25,6 +25,6 @@
3fb13f
    regexp `^#define[ 	]*PATCHLEVEL', since that's what support/mkversion.sh
3fb13f
    looks for to find the patch level (for the sccs version string). */
3fb13f
 
3fb13f
-#define PATCHLEVEL 16
3fb13f
+#define PATCHLEVEL 17
3fb13f
 
3fb13f
 #endif /* _PATCHLEVEL_H_ */
3fb13f
-- 
3fb13f
2.13.6
3fb13f