Project

General

Profile

Bug #496

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

Added by Andreas Huggel about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
metadata
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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 about 15 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