Another way to crash xlockmore is using Alt-SysRq-F. gnome-screensaver is not vulnerable to this attack. A way to avoid this is to add something like this to the very beginning of main():
for(;;)
{
pid_t child;
int status;
child = fork();
if(!child)
break;
while(-1 == waitpid(child, &status, 0) && errno == EINTR)
;
if(!WIFSIGNALED(status))
return EXIT_SUCCESS;
}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

