[Bug 255] New: printf() field width limit is unacceptable
bugzilla at busybox.net
bugzilla at busybox.net
Tue Mar 31 05:18:34 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=255
Host: i386-pc-linux-uclibc
Target: i386-pc-linux-uclibc
Build: i386-pc-linux-uclibc
Summary: printf() field width limit is unacceptable
Product: uClibc
Version: 0.9.30.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: stdio
AssignedTo: unassigned at uclibc.org
ReportedBy: michael at talamasca.ocis.net
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
Created an attachment (id=219)
--> (https://bugs.busybox.net/attachment.cgi?id=219)
Patch to remove stdio field width cap
uClibc mishandles printf field width limits larger than 40959, as a result of
misguided overflow-protection code. This causes spurious test failures with
GNU coreutils, which depends on "%65536s" and "%20000000f" working according to
spec.
I'm including a simple patch to fix the problem, extending the limit to
INT_MAX.
When I reported this earlier in the old bug-tracking system, I was asked for a
test program. I've posted one on:
ftp://ftp.ocis.net/pub/users/ldeutsch/uCpatches/widthtest.c
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list