bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory leak detected in valgrind


From: Chet Ramey
Subject: Re: Memory leak detected in valgrind
Date: Fri, 17 Jan 2020 10:03:09 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

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    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]