[sudo-commits] sudo changeset 11950:3eb35dac2743

Todd C. Miller Todd.Miller at sudo.ws
Mon Nov 18 10:29:59 MST 2019


changeset:	11950:3eb35dac2743 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3eb35dac2743
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Nov 18 10:29:11 2019 -0700

Log Message:
	Make a shallow copy of user_env in I/O plugin in case it is reallocated.
	The policy plugin's session init function may reallocate the user
	environment pointer.  Fixes a use after free when PAM is used.

diffstat:

 plugins/sudoers/iolog.c        |  44 +++++++++++++++++++++++++++++++++--------
 plugins/sudoers/iolog_client.c |  12 ++++++++++-
 plugins/sudoers/iolog_plugin.h |   2 +-
 3 files changed, 47 insertions(+), 11 deletions(-)


More information about the sudo-commits mailing list