Add sudo_ prefix to alloc.c functions and rename alloc.h -> sudo_alloc.h

This commit is contained in:
Todd C. Miller
2014-06-27 10:48:31 -06:00
parent c4c253847e
commit 2d61d38c23
65 changed files with 736 additions and 723 deletions

View File

@@ -142,7 +142,7 @@ sudo_getepw(const struct passwd *pw)
done:
#endif
/* If no shadow password, fall back on regular password. */
debug_return_str(estrdup(epw ? epw : pw->pw_passwd));
debug_return_str(sudo_estrdup(epw ? epw : pw->pw_passwd));
}
void