public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libmudflap/23084] New: mudflap crash upon accept() with argement 2 and 3 as NULL
@ 2005-07-26 18:53 syzop at vulnscan dot org
  2005-07-26 18:56 ` [Bug libmudflap/23084] " syzop at vulnscan dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: syzop at vulnscan dot org @ 2005-07-26 18:53 UTC (permalink / raw)
  To: gcc-bugs

Mudflap crashes when it sees an accept in the form of:
accept(lsock, NULL, NULL)
and does not crash upon:
accept(lsock, &addr, &len);

The former case is - AFAIK - legal, quoting from the accept() manpage:
'When addr is NULL nothing is filled in.'

Attached is a minimal C program to reproduce this bug.

I tried this both on 4.0.0 and 4.0.1.

-- 
           Summary: mudflap crash upon accept() with argement 2 and 3 as
                    NULL
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libmudflap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: syzop at vulnscan dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: gcc 4.0.1 20050720 (Red Hat 4.0.1-4)
GCC target triplet: Linux 2.6.11-1 -- Fedora Core 4 w/updates-testing


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23084


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-23084-11060@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-01-01 20:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26 18:53 [Bug libmudflap/23084] New: mudflap crash upon accept() with argement 2 and 3 as NULL syzop at vulnscan dot org
2005-07-26 18:56 ` [Bug libmudflap/23084] " syzop at vulnscan dot org
2005-07-26 19:34 ` pinskia at gcc dot gnu dot org
2005-09-23 21:58 ` fche at redhat dot com
2005-09-23 21:59 ` cvs-commit at gcc dot gnu dot org
     [not found] <bug-23084-11060@http.gcc.gnu.org/bugzilla/>
2006-01-01 20:54 ` pinskia at gcc dot gnu 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).