DngOpcodes.cpp: 2 * out of bounds array accesses
I just ran the static analysis checker cppcheck over the source
code of darktable-1.2.2
[darktable-1.2.2/src/external/rawspeed/RawSpeed/DngOpcodes.cpp:254]: (error) Buffer is accessed out of bounds: mLookup
[darktable-1.2.2/src/external/rawspeed/RawSpeed/DngOpcodes.cpp:343]: (error) Buffer is accessed out of bounds: mLookup
I've checked these two and I agree with cppcheck.
Suggest code rework.
#2 Updated by Pascal de Bruijn over 6 years ago
- % Done changed from 20 to 100
- Target version set to Candidate for next major release
- Priority changed from Medium to Low
- Assignee set to Pascal de Bruijn
- Status changed from Triaged to Fixed
- Category set to Darkroom
rawspeed: imported upstream r573: