public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/3013] New: Uninitialized byte written in fa_IR/LC_CTYPE
@ 2006-08-08 21:15 barbier at linuxfr dot org
  2006-08-09 14:58 ` [Bug libc/3013] " rsandifo at sourceware dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: barbier at linuxfr dot org @ 2006-08-08 21:15 UTC (permalink / raw)
  To: glibc-bugs

Hi,

locale/programs/ld-ctype.c (ctype_output) contains several occurences of
  iov[2 + elem + offset].iov_base = (void *) nulbytes;
  iov[2 + elem + offset].iov_len = 1 + (4 - ((total + 1) % 4));

The last expression is between 2 and 5, but nulbytes is defined by
  static const char nulbytes[4] = { 0, 0, 0, 0 };
An uninitialized byte can thus be written in LC_CTYPE, this happens
with fa_IR.

-- 
           Summary: Uninitialized byte written in fa_IR/LC_CTYPE
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: barbier at linuxfr dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3013

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-12 20:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-08 21:15 [Bug libc/3013] New: Uninitialized byte written in fa_IR/LC_CTYPE barbier at linuxfr dot org
2006-08-09 14:58 ` [Bug libc/3013] " rsandifo at sourceware dot org
2006-08-09 14:59 ` rsandifo at sourceware dot org
2006-08-09 14:59 ` rsandifo at sourceware dot org
2006-08-09 20:51 ` barbier at linuxfr dot org
2006-08-12 20:19 ` drepper at redhat dot com

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).