[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH v2] Fix resource leak in dpkg-deb --info



Hi!

On Thu, 2010-02-18 at 03:04:47 -0600, Jonathan Nieder wrote:
> “dpkg-deb -I foo.deb” leaks the file handle for the package’s
> control file.  Check for read errors and close the file before
> it falls out of scope.
> 
> Found by cppcheck.
> 
> Reported-by: Raphael Geissert <atomo64@gmail.com>
> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>

Thanks to both, patch pushed.

regards,
guillem


Reply to: