Re:Escaping Docker container using waitid() – CVE-2017-5123
by wildmusings on Friday December 29, 2017 @01:23PM
(#16030929)
goto is the best way to do early exit and cleanup from a C function. The alternatives are 1) deeply nested if's, one level for each function call that can return an error code, or 2) repeat the same cleanup code over and over again at every exit point.
[ Parent
| on HN ]
Re:Escaping Docker container using waitid() – CVE-2017-5123
by anonfunction on Friday December 29, 2017 @01:58PM
(#16031170)