Todd C. Miller
|
b4cb1c0a1f
|
Fix memory leaks in resolve_editor() in the error path.
Coverity CID 104109, 104110
|
2016-05-06 09:23:22 -06:00 |
|
Todd C. Miller
|
0b241088b3
|
There's no need to conditionalize the #include <unistd.h>, we require
a POSIX system.
|
2015-07-02 09:08:28 -06:00 |
|
Todd C. Miller
|
4a07b472f0
|
Only include stddef.h where it is needed.
|
2015-06-20 05:34:35 -06:00 |
|
Todd C. Miller
|
c36415417f
|
Add function name to "unable to allocate memory" warnings.
|
2015-06-19 14:51:17 -06:00 |
|
Todd C. Miller
|
dc883f2454
|
We require ANSI C so stop using the obsolete STDC_HEADERS.
|
2015-06-19 14:29:27 -06:00 |
|
Todd C. Miller
|
4f9cabd005
|
Remove obsolete memory.h include.
|
2015-06-18 21:02:57 -06:00 |
|
Todd C. Miller
|
ac13264b44
|
Use a common function for resolviong the user's editor in sudoedit
and visudo. The find_path() function now returns a dynamically
allocated path instead of using a static string.
|
2015-06-18 09:51:36 -06:00 |
|