[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] Address Sanitizer finding in libiconv_open iconv.
From: |
Jeffrey Walton |
Subject: |
Re: [bug-gnu-libiconv] Address Sanitizer finding in libiconv_open iconv.c:234 |
Date: |
Sun, 12 May 2019 08:52:48 -0400 |
On Sun, May 12, 2019 at 8:14 AM Bruno Haible <address@hidden> wrote:
>
> Jeffrey Walton wrote:
> > Here are the m4 macro changes: https://dev.gnupg.org/T4504
>
> Changing a configure test to free all allocated memory in the test
> program? Won't do.
Well, we at this point because of cutting corners. That type of code
won't pass for a CompSci 101 course. How did it get past review?
> There are more than 250 test programs in the
> Autoconf macros of gnulib alone. And this would also be a burden
> for the addition of new Autoconf macros with test programs.
Sounds like a good job for an interim.
> Instead, just set the environment variable
> ASAN_OPTIONS=detect_leaks=0
> while you run configure.
That's called pushing your technological debt onto others.
Jeff