Hi,
I have a DNG file that causes a crash in LibRaw 0.19-Snapshot-20170812 (no problem with LibRaw 0.8.16). The crash happens in the "unpack" function.
I used the Visual Studio project provided in LibRaw 0.19-Snapshot-20170812 without changing any settings. I opened and compiled the project with Visual Studio 2010 Express in 32bit / release mode. I did the same with LibRaw 0.18.6 and got not problem.
I send you the file by WeTransfer right now. The owner of this image agrees that I send it to you this file for debug purpose but asked me to specify that it cannot be shared or published.
Thanks for your understanding and help.
Eric
Thank you (again) for the
Thank you (again) for the file.
I'm unable to reproduce the crash using LibRaw compiled with gcc5/freebsd. Will check more with Windows/Visual studio
-- Alex Tutubalin @LibRaw LLC
Also, no problems with
Also, no problems with
MSVC 2013/x64, nmake -f Makefile.msvc
dcraw_emu -T yourfile.dng produces TIFF file as expected
Could you please provide more details about the crash? May be binary + .pdb file + crash dump?
-- Alex Tutubalin @LibRaw LLC
OK, got it with MSVC 2010/32
OK, got it (reproduced) with MSVC 2010/32 bit.
-- Alex Tutubalin @LibRaw LLC
Here is the patch: https:/
Here is the patch: https://www.dropbox.com/s/rq6x147fhbpruzr/libraw-tiled-dng-patch.patch?dl=0
(in short: for tiled DNGs last tile/tiles row may be larger than row/col count, so buffer overrun may occur).
-- Alex Tutubalin @LibRaw LLC
It's ok. I have just tried
It's ok. I have just tried the patch, no crash happens now.
Thanks !