Do not use invoke realloc()
to modify the size of a block of memory allocated storage that has strict alignment requirements.stricter alignment requirements than being suitably aligned so that it may be assigned to a pointer to any type of object with a fundamental alignment requirement (storage allocated by a call to the C Standard aligned_alloc()
function, for example.)
Noncompliant Code Example
...