From 1d0b647072c37f32c204c3a5478976eec069df53 Mon Sep 17 00:00:00 2001 From: amai2012 Date: Tue, 7 Feb 2017 12:14:55 +0100 Subject: [PATCH] #7915 false positive: "Memory leak" error after mmap return MAP_FAILED. define MAP_FAILED in posix.cfg. --- cfg/posix.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/cfg/posix.cfg b/cfg/posix.cfg index 0ebd0d90f..034d9610a 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -3161,4 +3161,5 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s +