Bug 80

Summary: Segmentation fault(coredump)
Product: Sudo Reporter: David Vincent <david.vincent>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: normal    
Version: 1.6.6   
Hardware: IBM   
OS: AIX   
Attachments: patch to try
I believe this will fix the problem (patch is relative to env.c in sudo 1.6.6)

Description David Vincent 2002-05-02 09:45:46 MDT
Sudo makes a core dump when env_keep = * (and of course env_reset is set)
Comment 1 Todd C. Miller 2002-05-02 10:10:59 MDT
Created attachment 12 [details]
patch to try
Comment 2 David Vincent 2002-05-02 10:36:59 MDT
Seems you've been to fast ! ;-)
Syntax is wrong if you keep line 388. I just tried to remove it and compile : OK
But sudo still dumps.
Comment 3 Todd C. Miller 2002-05-02 11:07:59 MDT
Hmm, bugzilla seems to have lost my comments when I attached the patch.  Oh
well.  I've finally found a machine that exhibits the problem (albeit in a
different way) and I think I see the problem.  I'll attach a patch once I have
one.
Comment 4 Todd C. Miller 2002-05-02 13:40:59 MDT
Created attachment 13 [details]
I believe this will fix the problem (patch is relative to env.c in sudo 1.6.6)