2020.01.13 18:22 "[Tiff] Stack corruption", by David C. Partridge

2020.01.13 18:40 "Re: [Tiff] Stack corruption", by Olivier Paquet

Running the following code with dwSkipExifInfo set to 0:

                if (!dwSkipExifInfo)
                {
                        // Try to read EXIF data
                        uint32                          ExifID;

On exit from the function, I get warning of Stack Corruption around variable ExifID!

What did I do wrong here?

It looks like ExifID should be uint64 instead of uint32.

Olivier