[sudo-commits] sudo changeset 13330:af1463026fd1

MertsA andrewmerts at gmail.com
Tue Jul 27 09:20:49 MDT 2021


changeset:	13330:af1463026fd1 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/af1463026fd1
user:		MertsA <andrewmerts at gmail.com>
date:		Mon Jul 26 08:07:10 2021 -0700

Log Message:
	Rewind utmp file pointer after searching for entry (#108)

	getutline() advances the file pointer until it matches or reaches EOF. pututline() starts from the current position in utmp. This rewinds the file pointer to the beginning to avoid allocating additional spurious utmp entries.

diffstat:

 src/utmp.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)



More information about the sudo-commits mailing list