c

profile photo of r2cr2c
Author
25
Download Count*

Default ruleset for C, curated by r2c.

Run Locally

Rules (6)

profile photo of returntocorpreturntocorp

Avoid using user-controlled format strings passed into 'sprintf', 'printf' and 'vsprintf'. These functions put you at risk of buffer overflow vulnerabilities through the use of format string exploits. Instead, use 'snprintf' and 'vsnprintf'.