[DVDnav-discuss] [PATCH] [dvdread] Avoid opendir() leak

Diego 'Flameeyes' Pettenò flameeyes at gmail.com
Wed Apr 18 10:25:33 CEST 2007


The attached patch, applied already to xine-lib's copy of libdvdnav and
reported in dvd.sf.net's bug tracker, avoids leaking file descriptors
from opendir() in the findDirFile function.

Although I would have done it in a different way, this is the way
libdvdread upstream already fixed the issue.

-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdvdnav-closedir-missing.patch
Type: text/x-patch
Size: 548 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20070418/8b88faf5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20070418/8b88faf5/attachment.pgp>


More information about the DVDnav-discuss mailing list