Bug 490 - Sudoers tokenizer should use additional states instead of begining of line anchors
Sudoers tokenizer should use additional states instead of begining of line an...
Status: NEW
Product: Sudo
Classification: Unclassified
Component: Sudoers
1.8.1
PC Other
: low enhancement
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-14 15:32 MDT by Todd C. Miller
Modified: 2011-04-14 15:32 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd C. Miller 2011-04-14 15:32:26 MDT
The tokenizer should have separate states for User_Specs, Alias_Specs and Defaults_Entries.  The first token parsed in the INITIAL state should determine which of those states to transition to.  This should help reduce some of the ambiguities.  As a side effect, it should be possible to no longer require that the last line in sudoers have a newline (hello emacs)