std.cfg: Enusre the return value of realloc()-functions is taken into account.

This commit is contained in:
orbitcowboy 2019-03-01 08:57:59 +01:00
parent b78b3c6ab1
commit 2fad53e4f8
1 changed files with 2 additions and 0 deletions

View File

@ -4254,6 +4254,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- void *realloc(void *block, size_t newsize); -->
<function name="realloc,std::realloc">
<returnValue type="void *"/>
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
@ -4266,6 +4267,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- void *reallocarray(void *ptr, size_t nmemb, size_t size); -->
<function name="reallocarray,std::reallocarray">
<returnValue type="void *"/>
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>