diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-05-29 19:27:39 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-05-29 19:30:45 -0400 |
commit | 8d7e4871492d5a8e89e58da7865e686b07ec5842 (patch) | |
tree | 1d4aa2b031b890556087a43d0b15b70317add2ef /src/lpc176x/gpio.c | |
parent | eb43b20e3b3555a4e94b84a8df4d6095909fc077 (diff) | |
download | kutter-8d7e4871492d5a8e89e58da7865e686b07ec5842.tar.gz kutter-8d7e4871492d5a8e89e58da7865e686b07ec5842.tar.xz kutter-8d7e4871492d5a8e89e58da7865e686b07ec5842.zip |
sos_filter: Improve error checking on section_idx
Validate host provided index prior to accessing memory using that
index.
Also, consistently use a uint8_t for max_sections (to account for
integer overflow issues).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/lpc176x/gpio.c')
0 files changed, 0 insertions, 0 deletions