mirror of
https://github.com/curl/curl.git
synced 2026-07-24 08:07:16 +03:00
checksrc: ban use of sscanf()
Using sscanf() is not a (security) problem in itself, but we strongly discorage using it for parsing input since it is hard to use right, easy to mess up and often makes for sloppy error checking. Allow it in examples and tests Closes #15687
This commit is contained in:
parent
d5c738c608
commit
c2ac9ea1ee
4 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
disable TYPEDEFSTRUCT
|
||||
disable SNPRINTF
|
||||
disable BANNEDFUNC
|
||||
disable SSCANF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue