sudo segfaults when /etc/sudoers has syntax error

Bug #1918876 reported by Owen Healy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
New
Undecided
Unassigned

Bug Description

If /etc/sudoers contains the following (syntactically invalid) line:

    %sudo ALL=(ALL:ALL) NOPASSWD ALL

the sudo command will segfault:

    $ sudo true
    [1] 12958 segmentation fault (core dumped) sudo true

A better result would be to fail or warn with a syntax error.

Release: groovy
Architecture: amd64
sudo version: 1.9.1-1ubuntu1.1

Tags: amd64 groovy
Chris Guiver (guiverc)
tags: added: amd64 groovy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.