-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
Description
| Bugzilla Link | 11053 |
| Resolution | FIXED |
| Resolved on | Oct 10, 2011 23:36 |
| Version | trunk |
| OS | All |
| Attachments | Patch adds use of vfork() as a security issue. |
| Reporter | LLVM Bugzilla Contributor |
| CC | @AnnaZaks,@tkremenek |
Extended Description
According to SEI CERT guideline POS33-C[*], vfork(2) should not be used due to potential denial of service issues and undefined behaviour across different implementations. The attached patch adds a check to experimental.security.SecuritySyntactic to detect and report an issue on use of vfork().
[*] https://www.securecoding.cert.org/confluence/display/seccode/POS33-C.+Do+not+use+vfork%28%29