|
Bugzilla – Full Text Bug Listing |
| Summary: | Crash running with close-from option | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Natrio <natrio> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | normal | ||
| Version: | 1.8.9 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: |
Fix for ecalloc(0) failure with -C option.
Better fix for ecalloc(0) failure with -C option. |
||
|
Description
Natrio
2014-02-04 00:10:39 MST
UPD: sudo-1.8.9p3 works too. UPD: sudo-1.8.10b1 crashes. The bug is between 1.8.9p3 and 1.8.9p4 versions. Created attachment 395 [details]
Fix for ecalloc(0) failure with -C option.
I've attached a trivial fix. I need to do a bit more checking to make sure something more complicated is not needed.
It works for me, thanks! Created attachment 396 [details]
Better fix for ecalloc(0) failure with -C option.
Updated fix with what I just checked in to the source tree.
It works. Is it final patch? Yes, sudo 1.8.9p5 will be released today with that patch. Thank you! Fixed in sudo 1.8.9p5, available now. |