Bug #496

Digikam bug 136855: Editing metadata on a few selected imagefiles and clicking forward or apply crashes digikam.

Added by Andreas Huggel over 10 years ago. Updated over 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:

0%

Category:metadata
Target version:0.12

Description

Backtrace and valgrind output point to Exiv2. The original digikam bug report by Caspar Maessen is here:

http://bugs.kde.org/show_bug.cgi?id=136855

"Version: digikam svn-601980 / kipi-plugins svn-601979 (using KDE KDE 3.5.5)
Installed from: SuSE RPMs
Compiler: gcc-4.1.0-25
OS: Linux

Testing the new metadata/edit IPTC option.
Selected a few images with <ctrl><a>. Edited Credits/Copyright/"Caspar".
Click [OK] -> Dialog quits. No result in the metadata tab.
Same procedure but click [Forward] -> Digikam crashes.
Same procedure but click [Apply] -> Digikam crashes."

Additional information:

The problem can be reproduced with a test driver for the Exiv2Iface class from the metadataedit KIPI plugin by Gilles Caulier. See

http://bugs.kde.org/show_bug.cgi?id=136855#c34

History

#1 Updated by Andreas Huggel over 10 years ago

r979 fixes the reproduceable issues.

The problem occurred in ExifData::op= and only for JPG images with Nikon3 and Fujifilm makernotes. A subsequent call to ExifData::copy, e.g., when writing the image back to a file causes invalid writes to memory which was freed before.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux