Re:Linux Local Privilege Escalation via SUID /proc/pid/mem W...
by exDM69 on Monday January 23, 2012 @05:04AM
(#3499777)
Gotos are common in C for error handling because the other alternative of doing an if/then/else with all the error handling is so verbose. It's used to work around the lack of exceptions in C.
You still should not use gotos for regular control flow. And jumping backwards with goto is bad practice in most cases.
You still should not use gotos for regular control flow. And jumping backwards with goto is bad practice in most cases.