summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-25 01:58:13 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-20 15:12:26 +0300
commit839c4a5a480731bfbae231797fc974f5a3749b69 (patch)
tree02b4bc21859ad1963b9ef0c3d1a0c1a6099e53b1 /src/android
parent9dacead6156f6083f7e0a148f228a7e1ebb4d5a3 (diff)
libcamera: yaml_parser: Fix range checks for 32-bit integers
The strtol() and strtoul() functions return long integers, which may be larger than 32-bit integers. Add manual range checks. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Han-Lin Chen <hanlinchen@chromium.org>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions