Your message dated Mon, 11 May 2015 01:49:16 +0000
with message-id <[email protected]>
and subject line Bug#784631: fixed in exempi 2.2.2-2
has caused the Debian Bug report #784631,
regarding libexempi3: out-of-bounds read in TIFF_Manager::DecodeString
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
784631: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784631
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libexempi3
Version: 2.2.1-2
Usertags: afl
Exempi crashes on the attached file:
$ exempi -x crash.jpeg
processing file crash.jpeg
dump_xmp for file crash.jpeg
Segmentation fault
Valgrind says it's an out-of-bounds read:
==9295== Invalid read of size 1
==9295== at 0x412BA47: TIFF_Manager::DecodeString(void const*, unsigned int,
std::string*) const (TIFF_Support.cpp:312)
==9295== by 0x411E551: ??? (ReconcileTIFF.cpp:1352)
==9295== by 0x41207C3: PhotoDataUtils::Import2WayExif(TIFF_Manager const&,
TXMPMeta<std::string>*, int) (ReconcileTIFF.cpp:2027)
==9295== by 0x411D72E: ImportPhotoData(TIFF_Manager const&, IPTC_Manager const&,
PSIR_Manager const&, int, TXMPMeta<std::string>*, unsigned int) (ReconcileLegacy.cpp:77)
==9295== by 0x40D5A96: JPEG_MetaHandler::ProcessXMP() (JPEG_Handler.cpp:694)
==9295== by 0x40C7640: XMPFiles::GetXMP(TXMPMeta<std::string>*, char
const**, unsigned int*, XMP_PacketInfo*) (XMPFiles.cpp:1370)
==9295== by 0x40C3F5F: WXMPFiles_GetXMP_1 (WXMPFiles.cpp:238)
==9295== by 0x407F5EB:
TXMPFiles<std::string>::GetXMP(TXMPMeta<std::string>*, std::string*,
XMP_PacketInfo*) (TXMPFiles.incl_cpp:295)
==9295== by 0x407A5AE: xmp_files_get_new_xmp (exempi.cpp:322)
==9295== by 0x8049EA5: get_xmp_from_file(char const*, bool, bool)
(main.cpp:239)
==9295== by 0x8049583: dump_xmp (main.cpp:251)
==9295== by 0x8049583: process_file (main.cpp:337)
==9295== by 0x8049583: main (main.cpp:191)
==9295== Address 0x4864efc is 3,137,596 bytes inside an unallocated block of size
4,100,392 in arena "client"
This bug was found using American fuzzy lop:
http://lcamtuf.coredump.cx/afl/
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libexempi3 depends on:
ii libc6 2.19-18
ii libexpat1 2.1.0-6+b3
ii libgcc1 1:5.1.1-4
ii libstdc++6 5.1.1-4
ii multiarch-support 2.19-18
ii zlib1g 1:1.2.8.dfsg-2+b1
--
Jakub Wilk
--- End Message ---
--- Begin Message ---
Source: exempi
Source-Version: 2.2.2-2
We believe that the bug you reported is fixed in the latest version of
exempi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated exempi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 11 May 2015 03:34:01 +0200
Source: exempi
Binary: exempi libexempi3 libexempi-dev libexempi3-dbg
Architecture: source amd64
Version: 2.2.2-2
Distribution: unstable
Urgency: medium
Maintainer: Michael Biebl <[email protected]>
Changed-By: Michael Biebl <[email protected]>
Description:
exempi - command line tool to manipulate XMP metadata
libexempi-dev - library to parse XMP metadata (Development files)
libexempi3 - library to parse XMP metadata (Library)
libexempi3-dbg - library to parse XMP metadata (Debug files)
Closes: 784631
Changes:
exempi (2.2.2-2) unstable; urgency=medium
.
* Fix an out of bounds access when reading tag. Patch cherry-picked from
upstream Git. (Closes: #784631)
Checksums-Sha1:
b08f51625b5f763bfe66b63c60327ebfa4b0be1a 2031 exempi_2.2.2-2.dsc
c448e70750419f379d4f93bedd9cacdf6725964a 9768 exempi_2.2.2-2.debian.tar.xz
0ad72d35a100830586414a6fb0b0f4554e69e491 18874 exempi_2.2.2-2_amd64.deb
2c71509ab31be996e8aeec0f951da303932031e4 399156 libexempi3_2.2.2-2_amd64.deb
c91e066d43e470a5610e0de252e95ea15f72432d 463028 libexempi-dev_2.2.2-2_amd64.deb
ad301e6883196e763050006d891de5e3c7387130 2884596
libexempi3-dbg_2.2.2-2_amd64.deb
Checksums-Sha256:
d9cd8d55bb3b26ce9ac1ea9712f35ef74051a4b5d38abd67ccc29a8d1525396d 2031
exempi_2.2.2-2.dsc
6a4d920774ddab559c7f3d09ca8baa151c1d535190ebe701c5dd22693cf67e95 9768
exempi_2.2.2-2.debian.tar.xz
4aeb9ce19b952b775a01d5c2a47bc1cad98f596bb83b5cb8335baf9107b0aa73 18874
exempi_2.2.2-2_amd64.deb
940eb0573e4f0e6342f147b3bc6efd4ec1c410e9d97fe14be761bb6b954cee08 399156
libexempi3_2.2.2-2_amd64.deb
c816d99ca6add4bd07db80cb118bc74a8601619be31a6a5a5f651a78d00324cd 463028
libexempi-dev_2.2.2-2_amd64.deb
f1502a5a2da786cdf334ac8291a2b53d3ad883fd6459fd96ae6fca3ef1159c6f 2884596
libexempi3-dbg_2.2.2-2_amd64.deb
Files:
4b24e6a5edea2bfdc1c9603e6be57e38 2031 libs optional exempi_2.2.2-2.dsc
2b3633b7a3afb93d16ff758f1dcb2508 9768 libs optional
exempi_2.2.2-2.debian.tar.xz
637b6ffa06375129db437be50d880ae3 18874 graphics optional
exempi_2.2.2-2_amd64.deb
29d476214a8d02a807944dfdeb31fb68 399156 libs optional
libexempi3_2.2.2-2_amd64.deb
06b6ec697b0019d1d5eab94ef294df55 463028 libdevel optional
libexempi-dev_2.2.2-2_amd64.deb
95fabbd39c2ed0ba1aa9b55ca18002ee 2884596 debug extra
libexempi3-dbg_2.2.2-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVUAfOAAoJEGrh3w1gjyLc1z0P/A6izKK658vLE5HkLgrQkl6O
L9oCqrxNUZubghfvb2F1WYaJ8I29xaNPzMTGbvlguH8OLwM7cZ9LpHM0UoYt6FuM
8ORaTYZPantH0IKgpM9YfZONSrM+zrN6V+PX0LepJXvMeOKvTpNGfFeq5nxXhCMR
qoyHWBmti3RadEkNmMvcfQ6lE0muud5gs45sYwbDMTZ35G6mKwvyl6+NomiKHTjw
xV56C3kGFdmh3Gwr6L19VgCYoYeCL4yfHKWBEEu4n+e9mo8SaJngX+ReAu5G2sQ+
bsmCah8xqXlvxVLN6jWY+kvpHqex4xMXtIhcypqizBiWBVBNOzTjoGUXMxI7mw/V
Ih7fjIZJFbeJw+uUb/ZtCc8JFZtyQRh21gfBJOj1oGUiKDGBtuuGp0dK7MHNypLa
XK72jPQkoaW2zKU77aYIyl5q0ag7acq7oa9tUftpRtduJdNkrt0lKjmLSPQR9YKr
ARXhDf1Gj04cSHebju2maqcapG2yY2tjFFlmbfa38YcDx4SO4ClM7EsGtiBat0Yv
APs8CGxOxmHgQ0zIVUnbg6KHPDIu8GNyT3USUDoHYwzRuxRM9ceLTQmSJ0A9HE0B
IVHYez40LnWTJo9bm30Yi82D6B2KNMr64AzALn22WKyRqqvNJikX8sgKpS9Cx+gv
YUh/VXOenkgTCic6ozec
=fVHq
-----END PGP SIGNATURE-----
--- End Message ---