[Xcb] [Bug 72253] New: Test the value of msg_controllen for platforms whose CMSG_FIRSTHDR() does not test it for us.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Dec 2 20:03:02 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=72253
Priority: medium
Bug ID: 72253
Assignee: xcb at lists.freedesktop.org
Summary: Test the value of msg_controllen for platforms whose
CMSG_FIRSTHDR() does not test it for us.
QA Contact: xcb at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Mac OS X (All)
Reporter: pho at cielonegro.org
Hardware: All
Status: NEW
Version: 1.9.3
Component: Library
Product: XCB
Created attachment 90138
--> https://bugs.freedesktop.org/attachment.cgi?id=90138&action=edit
The patch to fix the problem.
As RFC 2292 points out, some platforms (e.g. Darwin 9.8.0) provide
CMSG_FIRSTHDR(msg) which just returns msg.msg_control without first checking if
msg.msg_controllen is non-zero. We need a workaround for such platforms not to
let _xcb_in_read() segfault.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20131203/aec88fca/attachment.html>
More information about the Xcb
mailing list