Name: Anonymous 2009-10-30 14:03
#include <unistd.h>
int main(int argc, char *argv[])
{
return execl("/bin/true", NULL);
}This makes GNU true segfault in a call to strrchr().
#include <unistd.h>
int main(int argc, char *argv[])
{
return execl("/bin/true", NULL);
}#include <unistd.h>
int main(int argc, char *argv[])
{
path = "/bin/true";
return execl(path, path);
}argv[0] should be the name of the program?