2 ms·
The aforementioned CERT guideline: https://www.securecoding.cert.org/confluence/display/seccode/MEM12-C.+Consider+using+a+goto+chain+when+leaving+a+function+on
by Niten 13y ago
The aforementioned CERT guideline:
https://www.securecoding.cert.org/confluence/display/seccode/MEM12-C.+Consider+using+a+goto+chain+when+leaving+a+function+on+error+when+using+and+releasing+resources https://www.securecoding.cert.org/confluence/display/seccode...
Skeptics should note that the real-world example on that page is from the Linux kernel, where this style of goto is used heavily for error handling.