[Digikam-devel] [Bug 121691] Problems with Downloading images from Camera

Gilles Caulier caulier.gilles at free.fr
Tue Apr 11 08:57:19 BST 2006


------- 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=121691         




------- Additional Comments From caulier.gilles free fr  2006-04-11 09:57 -------
Vardhman, 

I have fixed a little uninitialized value in camera controler witch can give unpredectible result to get Exif metadata from gphoto2 driver. Typically, Exif data are passed to camera controler like a bytes array, and the array size is uninitilaized before to test it. If there is exif data, this is not a problem because the size is updated by gphoto2, but if there is no exif data, the size is uninitialized (typically the memory content initialized by compiler). This is can be dangerous (:=))

Now the size in initialized to 0 before use it in all cases.

Gilles



More information about the Digikam-devel mailing list