]> Kevux Git Server - fll/commit
Security: Invalid reads on NULL terminated strings with a max width greater than 1.
authorKevin Day <thekevinday@gmail.com>
Sun, 17 Jul 2022 23:42:21 +0000 (18:42 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 17 Jul 2022 23:42:21 +0000 (18:42 -0500)
commitd4e60cb8be6d5c57bbf9d6d9d4059d1718737797
tree6cb388c8aa2e53188566d0fc1e564e50bc64c840
parent2a0c65705a969abfb6e8847a23e82c2d415c9330
Security: Invalid reads on NULL terminated strings with a max width greater than 1.

The max width cannot be reliably trusted in NULL terminated strings.
Check if each character in the expected max width is not terminated early due to a NULL.
If it is, then adjust the max width.
level_0/f_print/c/private-print.c
level_0/f_print/c/private-print.h