Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15812
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Memory leak detected in valgrind |
| Date | 2020-01-17 10:03 -0500 |
| Message-ID | <mailman.2803.1579273419.1979.bug-bash@gnu.org> (permalink) |
| References | <CAGdu8S+SLmpHN8=q6+xnkA7auruhJh5YD22zZ6jO0GPNnOODrQ@mail.gmail.com> <4f5b8ad5-2981-2f66-1bc3-27dfe91abd8c@case.edu> |
On 1/17/20 9:21 AM, Laurent Stacul wrote:
> Bash Version: 5.0
> Patch Level: 3
> Release Status: release
>
> Description:
> Hello dear fellows,
> I just spot that redhat GNU/Linux distributions have patched there bash
> package since the bash release 4.3:
>
> >cat bash-4.3-memleak-lc_all.patch
> 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);
https://lists.gnu.org/archive/html/bug-bash/2015-07/msg00073.html
https://lists.gnu.org/archive/html/bug-bash/2017-04/msg00063.html
https://lists.gnu.org/archive/html/bug-bash/2017-06/msg00052.html
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Memory leak detected in valgrind Chet Ramey <chet.ramey@case.edu> - 2020-01-17 10:03 -0500
csiph-web