Hacker News
points by cowlevel 1 day ago | 0 comments
PDFs are usually untrusted input and C provides no assurance there isn't a bug in the code that allows corrupted input to turn into arbitrary remote code execution.
[–] F3nd0 1 day ago
Other than Ada/SPARK, which languages can guarantee this won’t happen?
[–] tialaramex 1 day ago
This trivially can't happen in WUFFS. Forget RCE, WUFFS can't even do a traditional Hello World program because (1) you can't do I/O in WUFFS and (2) the language doesn't have strings.

https://github.com/google/wuffs

[–] cowlevel 1 day ago
Very few languages can prevent you writing something like "if(text == "shibboleth") rootshell();" but most languages don't make it trivial to write accidentally.
[–] mahemm 9 hours ago
Pretty much any memory managed language? Java, Go, Rust, Python, pretty much anything other than C/C++ these days is memory safe for security purposes.