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 network/13500] __cmsg_nxthdr in cmsg_nxthdr.c (CMSG_NXTHDR) has undefined behavior when setting up ancillary data


https://sourceware.org/bugzilla/show_bug.cgi?id=13500

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to phperl from comment #4)
> use NEED_A_WORKAROUND_FOR_BUG_13500 to zero buf, will make length check
> useless, even to introduce security bugs.

Sorry, I don't understand this comment.

The length check is *always* useless for constructing ancillary data lists, but
it is not useless for *reading* them.

-- 
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]