diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2018-12-31 22:04:36 +0100 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2018-12-31 22:09:37 +0100 |
commit | b50dd3bc8cbb1efe85399b03d7e6c0310c2ead84 (patch) | |
tree | 817ec49386ef014ba0a02926c08579408e9c71ce /sysdeps/arm/fegetexcept.c | |
parent | 0b9c84906f653978fb8768c7ebd0ee14a47e662e (diff) | |
download | glibc-b50dd3bc8cbb1efe85399b03d7e6c0310c2ead84.tar.gz |
malloc: Always call memcpy in _int_realloc [BZ #24027]
This commit removes the custom memcpy implementation from _int_realloc
for small chunk sizes. The ncopies variable has the wrong type, and
an integer wraparound could cause the existing code to copy too few
elements (leaving the new memory region mostly uninitialized).
Therefore, removing this code fixes bug 24027.
Diffstat (limited to 'sysdeps/arm/fegetexcept.c')
0 files changed, 0 insertions, 0 deletions