This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13500] __cmsg_nxthdr in cmsg_nxthdr.c (CMSG_NXTHDR) has undefined behavior when setting up ancillary data
- From: "igorlord at alum dot mit.edu" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 03 Jan 2012 18:10:45 +0000
- Subject: [Bug libc/13500] __cmsg_nxthdr in cmsg_nxthdr.c (CMSG_NXTHDR) has undefined behavior when setting up ancillary data
- Auto-submitted: auto-generated
- References: <bug-13500-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13500
--- Comment #2 from Igor Lubashev <igorlord at alum dot mit.edu> 2012-01-03 18:10:45 UTC ---
Created attachment 6141
--> http://sourceware.org/bugzilla/attachment.cgi?id=6141
Test that fails, unless NEED_A_WORKAROUND_FOR_BUG_13500 is defined
Here is a test case.
The expected output is "Looks good!".
Currently, the output is "CMSG_NXTHDR is lying -- I have space for another int"
--
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.