diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-03-29 16:38:54 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-04 07:08:16 +0000 |
commit | 6a83f9aa98760d0ed1ab4c216a28a10862e86f00 (patch) | |
tree | 4ba7a7701b90f45fdac2a2cc7fb56e8f91f5d311 /src/widgets | |
parent | c807dc3c122a2e21d6446231cd94f51cb0cf65d2 (diff) |
Fix qReallocAligned for reallocation when alignment > 2*sizeof(void*)
When we call realloc, the alignment of the new block may be different
from the old one. When that happens, we need to memmove the data to the
new position, before we start overwriting things.
Task-number: QTBUG-59804
Change-Id: I27b55fdf514247549455fffd14b07ea78918a3d0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions