Bug 561336 - segfault when #include directive is used in cycles
Summary: segfault when #include directive is used in cycles
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sudo
Version: 5.4
Hardware: All
OS: Linux
high
urgent
Target Milestone: rc
: ---
Assignee: Daniel Kopeček
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 598363
TreeView+ depends on / blocked
 
Reported: 2010-02-03 13:17 UTC by Aleš Mareček
Modified: 2010-06-01 08:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 598363 (view as bug list)
Environment:
Last Closed: 2010-03-30 08:16:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0212 0 normal SHIPPED_LIVE sudo bug fix update 2010-03-29 12:30:14 UTC

Description Aleš Mareček 2010-02-03 13:17:00 UTC
Description of problem:
Sudo segfaults when #include directive is used in cycles.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Create new file (for example: /etc/sudoers.local (mode 0440)).
2. Edit this new file and set:
 - user privileges (for example: operator    ALL=(ALL) ALL)
 - #include /etc/sudoers
3. edit /etc/sudoers and set: #include /etc/sudoers.local
4. run command under sudo (for example: sudo)
  
Actual results:
Memory stack is printed and it segfaults.


Expected results:
Warning message expected with no segfault.

Additional info:

Comment 7 Daniel Kopeček 2010-02-09 15:55:36 UTC
thread on sudo-workers mailing list:
http://www.sudo.ws/pipermail/sudo-workers/2010-February/000702.html

Comment 12 errata-xmlrpc 2010-03-30 08:16:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0212.html


Note You need to log in before you can comment on or make changes to this bug.