public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug locale/31091] New: localedef --verbose prints bogus table sizes
@ 2023-11-28 1:05 uwe at NetBSD dot org
0 siblings, 0 replies; only message in thread
From: uwe at NetBSD dot org @ 2023-11-28 1:05 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31091
Bug ID: 31091
Summary: localedef --verbose prints bogus table sizes
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: locale
Assignee: unassigned at sourceware dot org
Reporter: uwe at NetBSD dot org
Target Milestone: ---
`localedef -v` prints garbage values for the table sizes, e.g.
[verbose] LC_CTYPE: table for class "upper": 18446744073709551615 bytes
This happens as this t->result_size is printed in allocate_arrays(!)
effectively right after the memory was allocated and still contains garbage.
The field is only initialized to something meaningful only very late in
ctype_output()
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-28 1:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-28 1:05 [Bug locale/31091] New: localedef --verbose prints bogus table sizes uwe at NetBSD dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).