|
Bugzilla – Full Text Bug Listing |
| Summary: | segfault if hostname mis configured | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Bdale Garbee <bdale> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | normal | ||
| Version: | 1.6.3 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | http://bugs.debian.org/86062 | ||
| Attachments: |
diff to force bug to show up
my fix to avoid crash in log_error when sending email |
||
|
Description
Bdale Garbee
2001-04-12 17:28:59 MDT
I fixed this a while ago in my source tree so sudo 1.6.4 will have this fixed. This bug is still reproducible in CVS sources as of 2001-Dec-12 To reproduce do something like user_host = "IdonotExist"; just before gethostbyname in set_fqdn() and configure --with-fqdn Fix is to move sudo_user.pw initialization before set_fqdn and its call to log_error. Send e-mail if you want the diffs, bugzilla is not letting me attach them. Created attachment 6 [details]
diff to force bug to show up
Created attachment 7 [details]
my fix to avoid crash in log_error when sending email
Hmm, I thought I had fixed that but apparently not. I just committed a fix to the cvs tree to defer the call to set_fqdn() until after log_error() is safe. Thanks for re-opening this. |