https://bugs.freedesktop.org/show_bug.cgi?id=90194
Emil Velikov changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=90194
Guillaume Desmottes changed:
What|Removed |Added
Attachment #115403|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=90194
--- Comment #4 from Pekka Paalanen ---
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 as
https://bugs.freedesktop.org/show_bug.cgi?id=90194
Guillaume Desmottes changed:
What|Removed |Added
Attachment #115375|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=90194
--- Comment #2 from Emil Velikov ---
Hi Guillaume
With args.fd used for output this seems like a false positive. Alternative
solution would be to make Valgrind aware of this. A similar issue exists for
args.handle in drmPrimeFDToHandle.
I fear
https://bugs.freedesktop.org/show_bug.cgi?id=90194
--- Comment #1 from Guillaume Desmottes ---
Created attachment 115375
--> https://bugs.freedesktop.org/attachment.cgi?id=115375&action=edit
drmPrimeHandleToFD: initialize args.fd to 0
--
You are receiving this mail because:
You are the assign
https://bugs.freedesktop.org/show_bug.cgi?id=90194
Bug ID: 90194
Summary: Fix Valgrind error in drmPrimeHandleToFD
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal