[Xcb] [Bug 79808] xcb_xv_query_adaptors accesses invalid memory due to xcb_xv_adaptor_info_sizeof returning non-aligned value

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 9 09:04:26 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79808

Daniel Martin <consume.noise at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|xcb at lists.freedesktop.org   |consume.noise at gmail.com

--- Comment #3 from Daniel Martin <consume.noise at gmail.com> ---
That "insert padding" code is some implicit padding that gets inserted
everywhere. Most structures should be fine without. And for this case (list of
1byte types) it's obviously broken.

Anyway, explicit padding is better than implicit, that's way I've hacked up
patches that fixes the problem (for me):
    http://lists.freedesktop.org/archives/xcb/2014-June/009518.html

Could you test the patches and report back?

-- 
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/20140609/25faa7f1/attachment-0001.html>


More information about the Xcb mailing list