std.cfg: Enusre the return value of realloc()-functions is taken into account.
This commit is contained in:
parent
b78b3c6ab1
commit
2fad53e4f8
|
@ -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/>
|
||||
|
|
Loading…
Reference in New Issue