From 2aecd30cd8481bce4a6429e6eda54f0edb5ed355 Mon Sep 17 00:00:00 2001 From: "yurii.putin" Date: Mon, 19 Nov 2018 18:23:00 +0100 Subject: [PATCH] Change cfg Add some function (posix_memalign, reallocarray,aligned_alloc,valloc) to cfg. Add attribute format-str to some function. --- cfg/posix.cfg | 20 ++++++++++++++++++++ cfg/std.cfg | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/cfg/posix.cfg b/cfg/posix.cfg index 4d7014289..5fb358991 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -3943,6 +3943,26 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s 1: + + + + + false + + + + + + + + + 0: + + + + posix_memalign + free + strdup strndup diff --git a/cfg/std.cfg b/cfg/std.cfg index 0bb5049b3..82facb1f4 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -1857,6 +1857,7 @@ + @@ -3661,6 +3662,29 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun 0: + + + + + false + + + + + + 0: + + + + + + + false + + + 0: + + @@ -4099,6 +4123,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun + @@ -4234,6 +4259,22 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun 0: + + + + false + + + + + + 0: + + + + 0: + + @@ -5726,6 +5767,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun + @@ -5798,6 +5840,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun + @@ -6628,6 +6671,8 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun malloc calloc + aligned_alloc + valloc free