CVE-2024-6409: OpenSSH: Possible remote code execution in privsep child
openwall.com141 pointsby andreyv56 comments
if (fflush(stdout) != 0 || ferror(stdout) != 0)
{
perror("stdout");
return EXIT_FAILURE;
}
at the end of the program. The same should be done for stderr as well. cat <(sort nonexistent)
wait $! || echo fail
gives sort: cannot read: nonexistent: No such file or directory
fail