bug-bash
[Top][All Lists]
Advanced

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

Re: Bash 5.2.0: Memory leak with $(<file)


From: pourko
Subject: Re: Bash 5.2.0: Memory leak with $(<file)
Date: Mon, 8 Jan 2024 18:26:09 +0100 (CET)

Jan 8, 2024, 09:23 by chet.ramey@case.edu:

>
> *** ../bash-5.2-patched/builtins/evalstring.c Tue Dec 13 12:53:21 2022
> --- builtins/evalstring.c     Tue Nov 28 17:25:39 2023
> ***************
> *** 763,766 ****
> --- 773,779 ----
>  if (fnp)
>  *fnp = fn;
> +   else
> +     free (fn);
> +
>  return fd;
>  }
>
>
That fixed the leak perfectly. Thank you!

Do any of the other six patches in that report also apply to Bash 5.2?





reply via email to

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