#7915 false positive: "Memory leak" error after mmap return MAP_FAILED. define MAP_FAILED in posix.cfg.
This commit is contained in:
parent
6f1e7e897d
commit
1d0b647072
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue