[sudo-commits] sudo changeset 9321:ade1b3045232

Todd C. Miller Todd.Miller at courtesan.com
Tue Feb 11 09:19:39 MST 2014

changeset:	9321:ade1b3045232 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/ade1b3045232
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Feb 11 07:43:13 2014 -0700

Log Message:
	When emulating DSO_NEXT with shl_get() we need to skip the program's
	handle.  This used to be documented as being index -2 but now it
	seems to be index 0.  As this is not guaranteed we need to look up
	the real handle value for PROG_HANDLE and skip it when interating
	through all the DSOs.  Fixes infinite recursion on HP-UX in the
	getenv() replacement.


 common/sudo_dso.c |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

More information about the sudo-commits mailing list