aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/Bindings/display/panel/ilitek,ili9163.yaml
diff options
context:
space:
mode:
authorShawn Bayern <sbayern@law.fsu.edu>2024-05-03 07:46:18 +0000
committerXin LI <delphij@FreeBSD.org>2024-05-03 08:29:20 +0000
commit95032b58a1ad0fde57518f17805ca721bb4563ad (patch)
tree1839c26e03c975bba49f7c081802f65c7bc39993 /sys/contrib/device-tree/Bindings/display/panel/ilitek,ili9163.yaml
parentbf8988187f0d0ed87934b6e2537ceb1a8f61fbd4 (diff)
downloadsrc-main.tar.gz
src-main.zip
Tighten boundary check in split(1) to prevent a potential buffer overflow.HEADmain
Before increasing sufflen, make sure the current name plus two (including the terminating NUL character and the to-be-added character) does not exceed the fixed buffer length, and stop immediately if this would occur. In worst case scenario the code would write an nul character beyond the boundary, however it would be caught by open(2) and based on the memory layout, we do not believe this would constitute a security vulnerability. MFC after: 3 days
Diffstat (limited to 'sys/contrib/device-tree/Bindings/display/panel/ilitek,ili9163.yaml')
0 files changed, 0 insertions, 0 deletions