[Bug 90194] Fix Valgrind error in drmPrimeHandleToFD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 28 10:07:38 PDT 2015


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

--- Comment #4 from Pekka Paalanen <ppaalanen at gmail.com> ---
If you initialize an fd, at least initialize it to the invalid file descriptor
-1. Zero is a valid file descriptor and very often already an open one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150428/a9b6abb1/attachment.html>


More information about the dri-devel mailing list