-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

now I was able to reproduce the bug once. But unfortunately the bug is
in libexiv2, not in geeqie. I was able to track the bug the following
way:
 syncExifWithXmp->cnvFromXmp->crash

Unfortunately I modified the image afterwards to see if this is really
the bug and had no backup. :-)

The Bug happens exatly if the digests of xmp and exif (tiff) matches and
there is one value in the xmp but _not_ in the exif data.

For example if you have Exif.Photo.DateTimeOriginal empty but
Xmp.exif.DateTimeOriginal set to a value then the function tries to copy
the value from the empty value ... and crashes.

But I think that is a typo in libexiv2 as they use key1ToKey2_ with
key1_ and key2_ in the case of cnvToXmp but key2ToKey1_ with key2_ and
key1_ (look at the order) in cncFromXmp. So they really do simply the
same in both situations.

However, could (should?) we do any to catch the bug? We can put the
syncExifWithXmp into a try block. This isn't nice but however.

Regards
   Klaus
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <kl...@ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEVAwUBSnQrEZ+OKpjRpO3lAQqzcAf/U6G9i66/2c69RyctqQcQCS8JuS9N+Tw3
1+e0dayMomcSD89xmgMZv7G10Tp7c6B2L/ahvUG/JnYXrs7s9uDh4GH0PheIO2eF
LyAndAzcPPW/Oo6MZlHsLZ0ea3xemCqjtAQBWbDqGdzSdUVbvb2GmONYp4i80a7G
xo0F77N9PHmBWs36E5DdlgE/WRS6OKsVWxdHf4vfLMu0C/z4AkoRJOtvfMOlTJ2r
7yR2PajxiBq/Dfw3CAJfnSpo8f6O/cWffHaoolqniL34/M4ATUmZR2JkQA/9dz/C
Xe9JPvJVmo4coi32gu1Ds24XB0rlSU/ksmYPBuxG+0HvpvksgdK+yQ==
=U5eC
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to