Skip to content

Checker should warn against any use of vfork() #11425

@llvmbot

Description

@llvmbot
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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions