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

Bug#173486: patch for strfmon tests

At 21 Mar 2003 13:21:56 -0800,
Kevin Buhr wrote:
> Package: glibc
> Version: 2.2.5-11.2
> Here's a patch (to the glibc-cvs.dpatch patch) to fix the
> "tst_strfmon" behaviour.  I didn't observe a crash in "tst-widetext",
> so I don't have a patch for that.
> The problem is that the glibc-cvs patch changes a bunch of the strfmon
> tests (in "dat_strfmon.c" run by "tst_strfmon.c") to pass a buffer
> size argument of 33 instead of 32.  Unfortunately, the actual
> allocated buffer is only of size 32 (the value of MONSIZE in
> "tst_types.h").  One of the early test (#5, I think) smashes the
> stack, and the test program segfaults when the main() function tries
> to return.
> This patch just adds a patch chunk to "glibc-cvs.dpatch" to bump the
> MONSIZE to 64, leaving plenty of slack.

This fix is for 2.2.5-11.2, but it's stable release, so it's difficult
to fix with your patch because it's not critical bug.  glibc 2.3.1-16
is already fixed, so use or develop with 2.3.1-16.  All I can do is to
tag as "wontfix, woody" for this bug...  So I intent to close this
bug, is it OK?

-- gotom

Reply to: