From 6d681a095989e75579d6e9208cbc34e629109fad Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Fri, 26 Apr 2019 10:16:29 +0200 Subject: [PATCH] posix.cfg: Issue a warning in case a function accepting a file descriptor is called with a negative value. --- cfg/posix.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cfg/posix.cfg b/cfg/posix.cfg index e780827d0..102d501ba 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -245,6 +245,7 @@ + 0: @@ -257,6 +258,7 @@ + 0: @@ -270,6 +272,7 @@ + 0: @@ -1101,6 +1104,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false + 0: @@ -1111,6 +1115,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false + 0: @@ -1242,6 +1247,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false + 0: @@ -1501,6 +1507,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s + 0: @@ -1528,6 +1535,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s + 0: @@ -1571,6 +1579,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s + 0: @@ -1587,6 +1596,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s + 0: @@ -3461,6 +3471,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false + 0: