]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: Silenced warnings and added error handling when reading EXIF
authorTill Kamppeter <till.kamppeter@gmail.com>
Sat, 14 May 2022 19:08:25 +0000 (21:08 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Wed, 24 Aug 2022 11:46:15 +0000 (13:46 +0200)
commit4dd98759e0ec6def4dffba917f7cca8b50e5344c
treed450fd61e22359a82e9f423c8ca36cda26638380
parent2298d1fa0770737945b9c0dbe1c3dc690033ed3c
libcupsfilters: Silenced warnings and added error handling when reading EXIF

The code to read an image resolution from the images EXIF data (PR

- Use "unsigned char" consistemtly

- Error handling for fread(), in case of error return NULL buffer

- Free buffer after use

(cherry picked from commit 87d264b40d2140c1a65ec2cedae85ba7c42fd716)
cupsfilters/image.c