[sudo-commits] sudo changeset 14448:6dc670d15276

Todd C. Miller Todd.Miller at sudo.ws
Tue Jan 3 20:05:36 MST 2023


changeset:	14448:6dc670d15276 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/6dc670d15276
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jan 03 20:02:01 2023 -0700

Log Message:
	sudo_lbuf_expand: check for possible integer overflow
	The numeric fields in struct sudo_lbuf are now unsigned so that
	wraparound is defined, this make the overflow checks simpler.
	Problem deteced by oss-fuzz using the fuzz_sudoers fuzzer.

diffstat:

 include/sudo_lbuf.h |  12 ++++++------
 lib/util/lbuf.c     |  28 ++++++++++++++++++----------
 2 files changed, 24 insertions(+), 16 deletions(-)



More information about the sudo-commits mailing list