[sudo-commits] sudo changeset 10214:ff107430ee4b
Todd C. Miller
Todd.Miller at courtesan.com
Tue Sep 15 09:29:43 MDT 2015
changeset: 10214:ff107430ee4b in /media/repos/sudo
details: http://www.sudo.ws/repos/sudo/rev/ff107430ee4b
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue Sep 15 09:29:40 2015 -0600
Log Message:
We reserved two slots at the end of the editor argv for the line
number and the file name. However, resolve_editor() adds "--"
before the file names so the +line_number is interpreted as a file
name, not a line number so we need to overwrite the "--" as well.
diffstat:
plugins/sudoers/visudo.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
More information about the sudo-commits
mailing list