#7915 false positive: "Memory leak" error after mmap return MAP_FAILED. define MAP_FAILED in posix.cfg.

This commit is contained in:
amai2012 2017-02-07 12:14:55 +01:00
parent 6f1e7e897d
commit 1d0b647072
1 changed files with 1 additions and 0 deletions

View File

@ -3161,4 +3161,5 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<podtype name="regex_t"/>
<podtype name="sched_param"/>
<podtype name="glob_t"/>
<define name="MAP_FAILED" value="-1"/>
</def>