blob: 83e058a2f33327054bbd85af3c6cccdefee7d2e4 [file] [log] [blame]
#include <unistd.h>
int main(void)
{
char* null_filename = NULL;
char* bad[2] = { (char*)1, NULL };
char* good[1] = { NULL };
execve(null_filename, bad, bad);
execve("/bin/true", good, good);
return 0;
}