summaryrefslogtreecommitdiff
path: root/src/libcamera/camera_sensor_properties.cpp
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2021-06-15 15:42:10 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-06-22 13:48:01 +0300
commita4b876e97ff718d33e389c718021fa57c1d35955 (patch)
tree6f786b46b3b08b461a87a93c5a814c94cbd8dd35 /src/libcamera/camera_sensor_properties.cpp
parent969da31894394db4f64c4a0e96ec2252fb13142b (diff)
ipa: raspberrypi: Fix possible buffer overrun in metadata parsing
The SMIA metadata parser could possibly read one byte past the end of the buffer as the buffer size test ran after the read operation. Fix this. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/camera_sensor_properties.cpp')
0 files changed, 0 insertions, 0 deletions