The following commit has been merged in the master branch:
commit 1162fcdba6c5234f4ac36e17f29e01ae04950004
Author: Cheyenne Wills <[email protected]>
Date: Tue Jun 7 12:19:44 2022 -0600
Prevent sscanf format widths from overrunning array
cppcheck noted these instances of sscanf could wipe out the ending null
terminator. Length is now macro expanded rather than hard coded and the
array itself is one unit longer to avoid the overrun.
Change-Id: Ic76e1b74701d7fb7b722ba1f8eae3a4d16e91f65
Reviewed-on: https://gerrit.openafs.org/13136
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
src/kauth/kkids.c | 5 +++--
src/sys/rmtsysnet.c | 7 ++++---
src/uss/uss_acl.c | 7 ++++---
3 files changed, 11 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs