[sudo-commits] sudo changeset 13723:1fef77204f17

Todd C. Miller Todd.Miller at sudo.ws
Tue Jan 11 13:34:16 MST 2022


changeset:	13723:1fef77204f17 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/1fef77204f17
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jan 11 13:30:20 2022 -0700

Log Message:
	When applying fallback limits, make sure we don't reduce rlim_max.
	Fixes a problem where sudo could reduce the max stack size on some
	systems if the original limit was higher than the fallback limit,
	but not unlimited/infinity.

diffstat:

 src/limits.c |  73 ++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 37 insertions(+), 36 deletions(-)



More information about the sudo-commits mailing list