diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-02-16 20:54:37 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-02-23 15:12:15 +0200 |
commit | 971c4904ff91e3525fb807567fdb4408b15df00e (patch) | |
tree | bcdaeff828be26a4dae6f540c0a65b17cdff54be /test/camera/statemachine.cpp | |
parent | 366077c4db502c8129eacc81a59d6e0ec958e4f0 (diff) |
ipa: rkisp1: agc: Wrap variable length C arrays in spans
The RkISP1 statistics structure contains multiple arrays whose length
varies depending on the hardware revision. Accessing those arrays is
error-prone, wrap them in spans at the top level to reduce risks of
out-of-bound accesses.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'test/camera/statemachine.cpp')
0 files changed, 0 insertions, 0 deletions