[sudo-commits] sudo changeset 13136:f19cd2f827d5

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


changeset:	13136:f19cd2f827d5 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/f19cd2f827d5
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Mar 24 08:57:40 2021 -0600

Log Message:
	Use SIOCGSIZIFCONF or SIOCGIFNUM where available.
	Still falls back to a loop if not but now maxes out at 2048
	interfaces instead of potentially looping forever.

diffstat:

 src/net_ifs.c |  102 ++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 61 insertions(+), 41 deletions(-)



More information about the sudo-commits mailing list