[Bug 2008108] Re: unittest failure on armhf and glibc 2.37
Dan Bungert
2008108 at bugs.launchpad.net
Thu Feb 23 03:53:18 UTC 2023
https://github.com/dankamongmen/notcurses/pull/2707 sent upstream (hi
nick :)
This was an interesting one to debug. The tests are (indirectly) using
snprintf, and don't seem close to consuming the buffer size, but are
sending a too-large size for the size_t value in snprintf, and that
triggers truncation of the printed value somehow. Worse, the truncation
behavior isn't consistent. See attached reproducer which shows the
weird truncation behavior.
** Changed in: notcurses (Ubuntu)
Status: In Progress => Fix Committed
** Attachment added: "lp-2008108.c"
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2008108/+attachment/5649277/+files/lp-2008108.c
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2008108
Title:
unittest failure on armhf and glibc 2.37
Status in glibc package in Ubuntu:
New
Status in notcurses package in Ubuntu:
Fix Committed
Bug description:
notcurses autopkgtest will fail on the unittest stage when triggered
with glibc 2.37.
Sample log:
https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/armhf/n/notcurses/20230216_230901_2c553@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2008108/+subscriptions
More information about the foundations-bugs
mailing list