Skip to content

Commit

Permalink
Fixed out of bounds array read.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Oct 7, 2023
1 parent c2804f7 commit 6e26011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tlIO/RAWRead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ namespace tl
_storeTag("Exif:Acceleration", common.exifAcceleration);
_storeTag("Exif:CameraElevationAngle",
common.exifCameraElevationAngle);
_storeTag("raw:pre_mul", color.pre_mul[0], color.pre_mul[4]);
_storeTag("raw:cam_mul", color.cam_mul[0], color.cam_mul[4]);
_storeTag("raw:pre_mul", color.pre_mul[0], color.pre_mul[3]);
_storeTag("raw:cam_mul", color.cam_mul[0], color.cam_mul[3]);
_storeTag("raw:rgb_cam", color.rgb_cam[0][0],
color.rgb_cam[2][4]);
_storeTag("raw:cam_xyz", color.cam_xyz[0][0],
Expand Down

0 comments on commit 6e26011

Please sign in to comment.