Bug 80 - Segmentation fault(coredump)
Segmentation fault(coredump)
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.6
IBM AIX
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2002-05-02 09:45 MDT by David Vincent
Modified: 2002-12-13 14:51 MST (History)
0 users

See Also:


Attachments
patch to try (1.21 KB, patch)
2002-05-02 10:10 MDT, Todd C. Miller
Details | Diff
I believe this will fix the problem (patch is relative to env.c in sudo 1.6.6) (7.26 KB, patch)
2002-05-02 13:40 MDT, Todd C. Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)