--- bashline.c.orig	2015-07-08 14:43:45.000000000 -0700
+++ bashline.c	2015-07-08 14:45:08.000000000 -0700
@@ -987,7 +987,7 @@
   /* Now erase the contents of the current line and undo the effects of the
      rl_accept_line() above.  We don't even want to make the text we just
      executed available for undoing. */
-  rl_line_buffer[0] = '\0';	/* XXX */
+  memset(rl_line_buffer, '\0', sizeof(rl_line_buffer));	/* clobber the entire buffer */
   rl_point = rl_end = 0;
   rl_done = 0;
   rl_readline_state = rrs;
