You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-shells/bash/files/bash-3.0-read-memleak.patch

16 lines
416 B

Ripped from Fedora
http://lists.gnu.org/archive/html/bug-bash/2005-12/msg00013.html
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173283
--- bash-3.0/builtins/read.def
+++ bash-3.0/builtins/read.def
@@ -461,6 +461,7 @@
if (retval < 0)
{
builtin_error (_("read error: %d: %s"), fd, strerror (errno));
+ run_unwind_frame ("read_builtin");
return (EXECUTION_FAILURE);
}
#endif