]> granicus.if.org Git - sudo/commit
Make a copy of the current sudoers path when assigning errorfile.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 31 Oct 2016 21:21:18 +0000 (15:21 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 31 Oct 2016 21:21:18 +0000 (15:21 -0600)
commit5a8b60e4b4666f98cc27909dc3027757a00c7ba6
tree1394aaeaa3255bc04590baba5af01ed52d9505db
parenta3a545e4168f7d4dbbe458535e7656993a9e1d8e
Make a copy of the current sudoers path when assigning errorfile.
Fixes a potential use after free in visudo when there is an error
in one of the include files.
plugins/sudoers/gram.c
plugins/sudoers/gram.y
plugins/sudoers/sudoers.h
plugins/sudoers/visudo.c
plugins/sudoers/visudo_json.c