This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]