[sudo-commits] sudo changeset 12356:07cb8a0c7f21

Todd C. Miller Todd.Miller at sudo.ws
Thu Apr 9 14:41:40 MDT 2020


changeset:	12356:07cb8a0c7f21 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/07cb8a0c7f21
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Apr 09 08:34:29 2020 -0600

Log Message:
	Python dictionaries are sparse so we cannot use pos as an index.
	When converting sudo options from a dictionary to a tuple we need
	to track the current index into the tuple separately from the
	position of the dictionary entry.

diffstat:

 plugins/python/regress/check_python_examples.c |  1 -
 plugins/python/sudo_python_module.c            |  7 +++----
 2 files changed, 3 insertions(+), 5 deletions(-)


More information about the sudo-commits mailing list