]> Kevux Git Server - fll/commit
Security: Invalid read in private_f_print().
authorKevin Day <thekevinday@gmail.com>
Wed, 9 Feb 2022 04:49:03 +0000 (22:49 -0600)
committerKevin Day <thekevinday@gmail.com>
Wed, 9 Feb 2022 04:49:03 +0000 (22:49 -0600)
commit3864be02dbb91d6dc7b3ecdd5c21230f355e2219
treee701cc061329a57f4f45e229360af66a8eb6e322
parent90a993388be898234238434ee3f0a408492d1f6e
Security: Invalid read in private_f_print().

The variable "i" is incremented inside the loop without checking that i < length.
This potentially results in an invalid read (such as when the string is not NULL terminated after the designated length).
level_0/f_print/c/private-print.c