Infinite loop in dcraw with current GCC versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I think you know about the problem of undefined behavior in you dcraw code [1].
This can lead to very bad things like infinite loops. Is there any progress or
way to support you in fixing this?

I know that there are some patches floating around like

  https://sources.debian.net/src/exactimage/0.9.1-2/debian/patches/gcc_48_dcraw_infinite_loop.patch/

But they seem to be against older versions of dcraw.

A good way to test against such problems is to use following CFLAGS:

-g3 -fsanitize=undefined -fsanitize=address -Wall

and then run your testset of images against them + recording
the error messages.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54136#c5





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux