]> granicus.if.org Git - sudo/commit
Set errorfile to the sudoers path if we set parse_error manually.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Apr 2010 10:24:27 +0000 (06:24 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Apr 2010 10:24:27 +0000 (06:24 -0400)
commit170bf2a29fcc3130f5b2469cb78c84ba6d63af3c
tree05b9be7fb1b1d0ca34fae692c4bebb23334c516a
parenta03a8d1955689a29fe2efcea0913792ba712bc92
Set errorfile to the sudoers path if we set parse_error manually.
This prevents a NULL dereference in printf() when checking a sudoers
file in strict mode when alias errors are present.

--HG--
branch : 1.7
visudo.c