[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sudo-commits
Subject:    [sudo-commits] sudo changeset 11950:3eb35dac2743
From:       "Todd C. Miller" <Todd.Miller () sudo ! ws>
Date:       2019-11-18 17:29:59
Message-ID: hg.3eb35dac2743.1574098199.-8302474813082147313 () xerxes ! sudo ! ws
[Download RAW message or body]

changeset:	11950:3eb35dac2743 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3eb35dac2743
user:		Todd C. Miller <Todd.Miller@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(-)
____________________________________________________________
sudo-commits mailing list <sudo-commits@sudo.ws>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic