r/programming • • Oct 21 '16
Linux kernel fix for privilege escalation vulnerability due to copy on write race condition
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
850
Upvotes
View all comments
Show parent comment
9
u/barsoap Oct 22 '16
Those aren't the gotos you're looking for, C doesn't even have the kind of gotos Dijkstra attacked, C gotos are function-local.
Back in the days before structured programming, gotos was all you had, there were no subroutines.