summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2024-12-12 16:02:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2024-12-13 09:43:05 +0100
commitc2ac9ea1eebe929b79c23f90038cafefee1ef4be (patch)
tree29b3acb74bb3303ef7ae46c14603bb24d6ce7438 /docs/examples
parentd5c738c6086abfb6dec8d272bc6743e602d84646 (diff)
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
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/.checksrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/examples/.checksrc b/docs/examples/.checksrc
index dea90aaa1..c7a533739 100644
--- a/docs/examples/.checksrc
+++ b/docs/examples/.checksrc
@@ -1,3 +1,4 @@
disable TYPEDEFSTRUCT
disable SNPRINTF
disable BANNEDFUNC
+disable SSCANF