News for hackers. Stuff that matters.
Re:Hacking with LaTeX by yk on Thursday March 10, 2016 @08:29AM (#11259020)
Well, if you can somehow inject arbitrary code, then you can inject an infinite loop. So a program will only halt on all inputs if you can not inject an infinite loop.
Re:Hacking with LaTeX by radarsat1 on Thursday March 10, 2016 @08:39AM (#11259083)
Sure.. so how is an infinite loop a security vulnerability?
Re:Hacking with LaTeX by yk on Thursday March 10, 2016 @08:59AM (#11259185)
The argument is the other way around, if a program halts on all inputs, then there is no possibility to inject arbitrary code. ( There may still be important security vulnerabilities, but there are some limits. Consider a debugger that executes the first 10 000 operations of a program, it would halt, but 10 000 operations is a lot of space to do something malicious.)
Re:Hacking with LaTeX by JadeNB on Thursday March 10, 2016 @08:42AM (#11259099)
If you are performing data processing on user-supplied inputs (as online compilers do), then an infinite loop can amount to a DoS attack.
Re:Hacking with LaTeX by coldtea on Thursday March 10, 2016 @09:08AM (#11259237)
Security doesn't end with "privilege escalation".

"Killing" (DoS) a system is also an attack.