bug-gnulib
[Top][All Lists]
Advanced

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

Re: obstack-printf: Fix memory overrun on glibc systems


From: Bruno Haible
Subject: Re: obstack-printf: Fix memory overrun on glibc systems
Date: Sat, 12 Jul 2025 16:39:53 +0200

> Compiling GNU Bison (HEAD~10) with the newest gnulib, and running "make 
> check",
> I get 8 test failures:
>   testsuite: 608 615 619 620 622 623 625 626 failed
> Seen on Ubuntu 22.04 and on Ubuntu 24.04 with gcc 13.
> 
> Same of the failures are caused by SIGSEGV, some by SIGABRT:

Different symptoms in a slightly different configuration:

+bison: obprintf.c:158: __obstack_vprintf_internal: Assertion `size == 
(new_f.ofile.file.file._IO_write_end - new_f.ofile.file.file._IO_write_base)' 
failed.
+/home/runner/work/ci-check/ci-check/bison/tests/bison: line 34: 88381 Aborted  
               (core dumped) 

Fixed by the same patch.

Bruno






reply via email to

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