Re: two undefined behaviour occurrences in m4
Eric Blake <[email protected]> Fri, 4 Apr 2025 07:43:34 -0500
| Newsgroups | gmane.comp.gnu.m4.bugs |
|---|---|
| Message-ID | <frjuu5lpgnstsbpjhzpfuoeugckbaojks2jus63kssm3csoinf@7vsnrqylb6u5> |
On Sat, Dec 02, 2023 at 06:41:17AM +0100, Bruno Haible wrote: > Hi, > > After fixing the Gnulib bug reported at > <https://lists.gnu.org/archive/html/bug-m4/2023-02/msg00000.html> > I wanted to check whether the newest m4 snapshot passes its tests > with > CC="clang -fsanitize=address,undefined,signed-integer-overflow,shift,integer-divide-by-zero -fsanitize-address-use-after-scope -fno-sanitize-recover=all" > And it doesn't. There are two problems: > > Find attached a patch that fixes both issues. Thanks. I reformatted it with 'make indent' and pushed. -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org