[Bug 90194] Fix Valgrind error in drmPrimeHandleToFD

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


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

Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #115375|0                           |1
        is obsolete|                            |

--- Comment #3 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> ---
Created attachment 115403
  --> https://bugs.freedesktop.org/attachment.cgi?id=115403&action=edit
drmPrime*: initialize output args to 0

Here is a patch for both functions. I agree it's probably a false positive but
the fix is simple enough to be worth adding those extra lines and saving people
the trouble of debugging those.

I'll send the patch to the list as well.

-- 
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/a4687cc3/attachment.html>


More information about the dri-devel mailing list