Add new comment

Is there a known regression in 0.17 ?

Hello, I'm using libraw since a while in my opensource software.
However, since 0.17 I have a crash I did not have before.
gdb gives me:

#2 0x0000000000432b75 in readraw (name=0x16c95b0 "/home/lock/Bureau/test.CR2", fit=0x703680 ) at io/image_formats_libraries.c:747
747 ret = libraw_dcraw_process(raw);
(gdb) p raw
$1 = (libraw_data_t *) 0x1cdb008
(gdb) p *raw
value of type `libraw_data_t' requires 299696 bytes, which is more than max-value-size
(gdb) l
742 libraw_recycle(raw);
743 libraw_close(raw);
744 return -1;
745 }
746
747 ret = libraw_dcraw_process(raw);
748 if (ret) {
749 printf("Error in libraw %s\n", libraw_strerror(ret));
750 free(data);
751 libraw_recycle(raw);

The whole code can be seen here:
https://free-astro.org/svn/siril/trunk/src/io/image_formats_libraries.c

Could you explain me the problem ?

Best Regards,
Cyril

Forums: