[Mesa-dev] [Bug 76188] EGL_EXT_image_dma_buf_import fd ownership is incorrect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 20 23:11:51 PDT 2014


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

--- Comment #9 from Pekka Paalanen <ppaalanen at gmail.com> ---
(In reply to comment #7)
> I do see risk in not cherry-picking the fix. If an app uses this extension
> with unfixed Mesa 10.2, then that app will leak file descriptors.

Hmm, isn't it the vice versa though?

If an app is written to work on unfixed Mesa (the app is broken), it works on
both unfixed and fixed Mesa, but leaks fds on fixed Mesa, because nothing will
close the fds given to Mesa.

If an app is written to work on fixed Mesa (the app is correct), it will not
work on unfixed Mesa, because unfixed Mesa will close the fds behind the app's
back. (Assuming the app actually needs to store and use the fds again.)

So, concretely, do I have to send a copy of the patch to mesa-stable@ or
something, or is it already taken care of?
Any tag lines to add to the patch?

-- 
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/mesa-dev/attachments/20140821/a6cff9fa/attachment.html>


More information about the mesa-dev mailing list