From 7b958e788da684df5c34481f5d4427fdcaecae2f Mon Sep 17 00:00:00 2001 From: versat Date: Mon, 11 Mar 2019 11:20:07 +0100 Subject: [PATCH] posix.cfg: Fixes and adding more argument directions. Fixes: The "length" argument of mmap*() and munmap() calls must be greater than 0. --- cfg/posix.cfg | 101 ++++++++++++++++++++++++++------------------------ 1 file changed, 52 insertions(+), 49 deletions(-) diff --git a/cfg/posix.cfg b/cfg/posix.cfg index 383aae70b..1f642683b 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -1310,16 +1310,16 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s - + - + - + - + @@ -1328,30 +1328,31 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s struct sockaddr *src_addr, socklen_t *addrlen); --> - + - + - + - + - - + + - + - + + @@ -1359,16 +1360,16 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s - + - + - + - + @@ -1377,60 +1378,61 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s const struct sockaddr *dest_addr, socklen_t addrlen); --> - + - + - + - + - - + + - + - + - + + false - + - + - 0: + 1: - + - + - + - + @@ -1441,39 +1443,40 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false - + - + - 0: + 1: - + - + - + - + + false - + - + - 0: + 1: @@ -1481,13 +1484,13 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false - + - + - + @@ -1496,10 +1499,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false - + - + @@ -1512,10 +1515,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s false - + - +