Bug 469653

Summary: "sudo -l" segfaults
Product: Red Hat Enterprise Linux 5 Reporter: Daniel Kopeček <dkopecek>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED WORKSFORME QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: amarecek, sghosh, sgrubb
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-17 14:18:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Kopeček 2008-11-03 09:13:30 UTC
Version-Release number of selected component (if applicable):
sudo-1.6.9p17-2

How reproducible:
Always

Steps to Reproduce:
1. Install ElectricFence
2. # LD_PRELOAD=/usr/lib/libefence.so EF_PROTECT_BELOW=1 sudo -l

Actual results:
Segmentation fault

Expected results:
Displays the list of commands I am allowed to execute.

This bug was originally filed against Fedora 9 (#466292) but it should be fixed in RHEL also. A patch for this already exists and is pretty simple (it is attached in the bugreport mentioned above). The patch was also accepted by upstream and the next stable release (1.6.9p18) of sudo won't contain this bug anymore.