Your message dated Tue, 06 Jun 2023 20:07:24 +0200 with message-id <3322825.Y9C4EfIJSr@tuxin> and subject line Re: libexiv2-14: ExivGroup invalid memory access has caused the Debian Bug report #947318, regarding libexiv2-14: ExivGroup invalid memory access 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 owner@bugs.debian.org immediately.) -- 947318: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947318 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: libexiv2-14: ExivGroup invalid memory access
- From: Frank Eckelmann <f.eckelmann@gmx.de>
- Date: Tue, 24 Dec 2019 15:58:07 +0100
- Message-id: <9858942.YlnhF94N3T@frank-desktop>
Package: libexiv2-14 Version: 0.25-4 Severity: important Tags: buster Affects: gwenview The attached (extracted) exif data dump can be used to crash (lib)exiv2 under debian buster. This is causing crashes of gwenview or similar graphical image viewers. But it can reproduced easier with the exiv command tool: $ valgrind exiv2 -pt dfa12848-c367-463f-8308-1508466631e1.exv ==18807== Memcheck, a memory error detector ==18807== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==18807== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info ==18807== Command: exiv2 -pt dfa12848-c367-463f-8308-1508466631e1.exv ==18807== Exif.Image.ImageDescription Ascii 1 Exif.Image.Make Ascii 1 Exif.Image.Model Ascii 1 Exif.Image.Software Ascii 1 Exif.Image.DateTime Ascii 1 Exif.Image.Artist Ascii 1 Exif.Image.ExifTag Long 1 134 Exif.Photo.ExifVersion Undefined 1 (0) Exif.Photo.DateTimeOriginal Ascii 1 Exif.Photo.DateTimeDigitized Ascii 1 Exif.Photo.ComponentsConfiguration Undefined 1 Exif.Photo.UserComment Undefined 1 Exif.Photo.SubSecTime Ascii 1 Exif.Photo.SubSecTimeOriginal Ascii 1 Exif.Photo.SubSecTimeDigitized Ascii 1 Exif.Photo.FlashpixVersion Undefined 1 (0) Exif.Photo.SceneType Undefined 1 (0) Exif.Photo.ImageUniqueID Ascii 1 Exif.Image.GPSTag Long 1 272 Exif.GPSInfo.GPSVersionID Byte 1 0 Exif.GPSInfo.GPSLatitudeRef Ascii 1 () Exif.GPSInfo.GPSLongitudeRef Ascii 1 () Exif.GPSInfo.GPSAltitudeRef Byte 1 Above sea level Exif.GPSInfo.GPSProcessingMethod Undefined 1 0 Exif.GPSInfo.GPSDateStamp Ascii 1 ==18807== Invalid read of size 1 ==18807== at 0x49C95BB: Exiv2::Internal::printUcs2(std::ostream&, Exiv2::Value const&, Exiv2::ExifData const*) (tags.cpp:2324) ==18807== by 0x498B26B: Exiv2::Metadatum::print[abi:cxx11](Exiv2::ExifData const*) const (metadatum.cpp:80) ==18807== by 0x11DB7B: Action::Print::printMetadatum(Exiv2::Metadatum const&, Exiv2::Image const*) (actions.cpp:711) ==18807== by 0x11E00E: Action::Print::printMetadata(Exiv2::Image const*) (actions.cpp:536) ==18807== by 0x11E2D7: Action::Print::printList() (actions.cpp:526) ==18807== by 0x122CFF: Action::Print::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (actions.cpp:241) ==18807== by 0x10EA4C: main (exiv2.cpp:171) ==18807== Address 0x54a5f7f is 1 bytes before a block of size 1 alloc'd ==18807== at 0x483650F: operator new[](unsigned long) (vg_replace_malloc.c:423) ==18807== by 0x49C95A1: DataBuf (types.hpp:194) ==18807== by 0x49C95A1: Exiv2::Internal::printUcs2(std::ostream&, Exiv2::Value const&, Exiv2::ExifData const*) (tags.cpp:2321) ==18807== by 0x498B26B: Exiv2::Metadatum::print[abi:cxx11](Exiv2::ExifData const*) const (metadatum.cpp:80) ==18807== by 0x11DB7B: Action::Print::printMetadatum(Exiv2::Metadatum const&, Exiv2::Image const*) (actions.cpp:711) ==18807== by 0x11E00E: Action::Print::printMetadata(Exiv2::Image const*) (actions.cpp:536) ==18807== by 0x11E2D7: Action::Print::printList() (actions.cpp:526) ==18807== by 0x122CFF: Action::Print::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (actions.cpp:241) ==18807== by 0x10EA4C: main (exiv2.cpp:171) ==18807== Exif.Image.XPTitle Byte 1 Uncaught exception: basic_string::_M_create ==18807== ==18807== HEAP SUMMARY: ==18807== in use at exit: 1,452 bytes in 23 blocks ==18807== total heap usage: 662 allocs, 639 frees, 130,284 bytes allocated ==18807== ==18807== LEAK SUMMARY: ==18807== definitely lost: 0 bytes in 0 blocks ==18807== indirectly lost: 0 bytes in 0 blocks ==18807== possibly lost: 0 bytes in 0 blocks ==18807== still reachable: 1,452 bytes in 23 blocks ==18807== suppressed: 0 bytes in 0 blocks ==18807== Rerun with --leak-check=full to see details of leaked memory ==18807== ==18807== For counts of detected and suppressed errors, rerun with: -v ==18807== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Or when started without valgrind exiv2 -pt dfa12848-c367-463f-8308-1508466631e1.exv Exif.Image.ImageDescription Ascii 1 Exif.Image.Make Ascii 1 Exif.Image.Model Ascii 1 Exif.Image.Software Ascii 1 Exif.Image.DateTime Ascii 1 Exif.Image.Artist Ascii 1 Exif.Image.ExifTag Long 1 134 Exif.Photo.ExifVersion Undefined 1 (0) Exif.Photo.DateTimeOriginal Ascii 1 Exif.Photo.DateTimeDigitized Ascii 1 Exif.Photo.ComponentsConfiguration Undefined 1 Exif.Photo.UserComment Undefined 1 Exif.Photo.SubSecTime Ascii 1 Exif.Photo.SubSecTimeOriginal Ascii 1 Exif.Photo.SubSecTimeDigitized Ascii 1 Exif.Photo.FlashpixVersion Undefined 1 (0) Exif.Photo.SceneType Undefined 1 (0) Exif.Photo.ImageUniqueID Ascii 1 Exif.Image.GPSTag Long 1 272 Exif.GPSInfo.GPSVersionID Byte 1 0 Exif.GPSInfo.GPSLatitudeRef Ascii 1 () Exif.GPSInfo.GPSLongitudeRef Ascii 1 () Exif.GPSInfo.GPSAltitudeRef Byte 1 Above sea level Exif.GPSInfo.GPSProcessingMethod Undefined 1 0 Exif.GPSInfo.GPSDateStamp Ascii 1 Exif.Image.XPTitle Byte 1 Uncaught exception: basic_string::_M_createAttachment: dfa12848-c367-463f-8308-1508466631e1.exv
Description: Binary data
--- End Message ---
--- Begin Message ---
- To: 947318-done@bugs.debian.org
- Subject: Re: libexiv2-14: ExivGroup invalid memory access
- From: Hefee <hefee@debian.org>
- Date: Tue, 06 Jun 2023 20:07:24 +0200
- Message-id: <3322825.Y9C4EfIJSr@tuxin>
- In-reply-to: <9858942.YlnhF94N3T@frank-desktop>
- References: <9858942.YlnhF94N3T@frank-desktop>
Version: 0.27.6-1 I tested the attached image and with current version on testing, it does not crash anymore. regards, hefeeAttachment: signature.asc
Description: This is a digitally signed message part.
--- End Message ---