1182278 - bash crashes on `select' if REPLY is readonly
1241533,1224855 - bash memleak when LC_ALL set
This commit is contained in:
parent
1e8e815c01
commit
2faffdd628
12
bash-4.3-memleak-lc_all.patch
Normal file
12
bash-4.3-memleak-lc_all.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up bash-4.3/locale.c.old bash-4.3/locale.c
|
||||||
|
--- bash-4.3/locale.c.old 2015-07-15 11:55:00.002857301 +0200
|
||||||
|
+++ bash-4.3/locale.c 2015-07-15 11:48:36.698086257 +0200
|
||||||
|
@@ -77,8 +77,6 @@ set_default_locale ()
|
||||||
|
{
|
||||||
|
#if defined (HAVE_SETLOCALE)
|
||||||
|
default_locale = setlocale (LC_ALL, "");
|
||||||
|
- if (default_locale)
|
||||||
|
- default_locale = savestring (default_locale);
|
||||||
|
#endif /* HAVE_SETLOCALE */
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
Loading…
Reference in New Issue
Block a user