[Bug libc/13500] __cmsg_nxthdr in cmsg_nxthdr.c (CMSG_NXTHDR) has undefined behavior when setting up ancillary data

igorlord at alum dot mit.edu sourceware-bugzilla@sourceware.org
Tue Jan 3 18:11:00 GMT 2012


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.



More information about the Glibc-bugs mailing list