[sudo-commits] sudo changeset 13138:89ade84d0a6d

Todd C. Miller Todd.Miller at sudo.ws
Wed Mar 24 18:49:53 MDT 2021


changeset:	13138:89ade84d0a6d in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/89ade84d0a6d
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Mar 24 14:18:40 2021 -0600

Log Message:
	No longer need ifr_tmp variable, just reuse ifr.
	Now that we store the string version of the address before fetching
	the netmask we can just re-use ifr.  This simplifies things and is
	safer since if there is space for the address there must also be
	space for the mask.

diffstat:

 src/net_ifs.c |  78 ++++++++++++++++++++++++++++++----------------------------
 1 files changed, 40 insertions(+), 38 deletions(-)



More information about the sudo-commits mailing list