--- embedaddon/sudo/src/exec_common.c 2012/05/29 12:26:49 1.1 +++ embedaddon/sudo/src/exec_common.c 2013/07/22 10:46:13 1.1.1.3 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 Todd C. Miller + * Copyright (c) 2009-2013 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -17,7 +17,6 @@ #include #include -#include #include #ifdef STDC_HEADERS # include @@ -40,6 +39,8 @@ # include #endif #include +#include +#include #include "sudo.h" #include "sudo_exec.h" @@ -108,7 +109,7 @@ disable_execute(char *const envp[]) preload = fmt_string(RTLD_PRELOAD_VAR, sudo_conf_noexec_path()); # endif if (preload == NULL) - errorx(1, _("unable to allocate memory")); + fatalx(NULL); nenvp[env_len++] = preload; nenvp[env_len] = NULL; } else {