[Digikam-devel] [Bug 141980] digikam crash when rescan certain files exiv2
Gilles Caulier
caulier.gilles at gmail.com
Tue Feb 20 17:01:33 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=141980
------- Additional Comments From caulier.gilles gmail com 2007-02-20 18:01 -------
Andreas,
sound like a problem at kexiv2.cpp line 1248 :
QByteArray KExiv2::getIptcTagData(const char *iptcTagName) const
{
try
{
Exiv2::IptcKey iptcKey(iptcTagName);
Exiv2::IptcData iptcData(d->iptcMetadata);
Exiv2::IptcData::iterator it = iptcData.findKey(iptcKey);
if (it != iptcData.end())
{
QByteArray data((*it).size());
(*it).copy((Exiv2::byte*)data.data(), Exiv2::bigEndian); // HERE
return data;
}
}
catch( Exiv2::Error &e )
{
qDebug("Cannot find Iptc key '%s' into image using Exiv2 (%s)",
iptcTagName, e.what().c_str());
}
return QByteArray();
}
... but why ?
Gilles
More information about the Digikam-devel
mailing list