diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-25 01:58:13 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-20 15:12:26 +0300 |
commit | 839c4a5a480731bfbae231797fc974f5a3749b69 (patch) | |
tree | 02b4bc21859ad1963b9ef0c3d1a0c1a6099e53b1 /test/pipeline/ipu3 | |
parent | 9dacead6156f6083f7e0a148f228a7e1ebb4d5a3 (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 'test/pipeline/ipu3')
0 files changed, 0 insertions, 0 deletions