public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15380] New: initstate() fails to retun NULL if size < 8
@ 2013-04-19  7:53 mtk.manpages at gmail dot com
  2013-04-19  7:55 ` [Bug libc/15380] " mtk.manpages at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mtk.manpages at gmail dot com @ 2013-04-19  7:53 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 15380
           Summary: initstate() fails to retun NULL if size < 8
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: mtk.manpages@gmail.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


POSIX.1-2001 says:

    RETURN VALUE
       If initstate() is called with size less than 8, it shall return
       NULL.

glibc sets errno to EINVAL for this case, but does not return NULL, thus
violating the standard.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-06-13 18:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19  7:53 [Bug libc/15380] New: initstate() fails to retun NULL if size < 8 mtk.manpages at gmail dot com
2013-04-19  7:55 ` [Bug libc/15380] " mtk.manpages at gmail dot com
2013-04-29 19:04 ` aj at suse dot de
2014-06-13 18:24 ` [Bug libc/15380] initstate() fails to return " fweimer 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).