Use of uninitialized variable in dcraw_common.cpp

When LIBRAW_LIBRARY_BUILD is defined, the function smal_decode_segment() uses the uninitialized variable "row" in the latest 14.4 release, and in github.

The misuse of the uninitialized variable is at line 3094 in the 14.4 version, or line 3101 in the current code on github.


Thanks, it looks like bug.

Thanks, it looks like bug. Unfortunately, I've now samples of this format, so this piece of code is not covered by tests.

To be fixed in 0.14.5

-- Alex Tutubalin @LibRaw LLC

Fixed in 0.14.5 (released

Fixed in 0.14.5 (released today)

Thanks for the report!

-- Alex Tutubalin @LibRaw LLC