diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2021-06-15 15:42:10 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-06-22 13:48:01 +0300 |
commit | a4b876e97ff718d33e389c718021fa57c1d35955 (patch) | |
tree | 6f786b46b3b08b461a87a93c5a814c94cbd8dd35 /src/ipa/libipa/algorithm.h | |
parent | 969da31894394db4f64c4a0e96ec2252fb13142b (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/ipa/libipa/algorithm.h')
0 files changed, 0 insertions, 0 deletions