diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-06-08 20:50:21 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-06-08 20:50:21 +0200 |
commit | 1e8a8875d69e36d2890b223ffe8853a8ff0c9512 (patch) | |
tree | eb133b0a58fc24fda5b7093ddd5f259013333256 /nptl/tst-sem7.c | |
parent | 8fa8a330f95c2f39eae7960ccf2825e693789202 (diff) | |
download | glibc-1e8a8875d69e36d2890b223ffe8853a8ff0c9512.tar glibc-1e8a8875d69e36d2890b223ffe8853a8ff0c9512.tar.gz glibc-1e8a8875d69e36d2890b223ffe8853a8ff0c9512.tar.bz2 glibc-1e8a8875d69e36d2890b223ffe8853a8ff0c9512.zip |
malloc: Correct size computation in realloc for dumped fake mmapped chunks
For regular mmapped chunks there are two size fields (hence a reduction
by 2 * SIZE_SZ bytes), but for fake chunks, we only have one size field,
so we need to subtract SIZE_SZ bytes.
This was initially reported as Emacs bug 23726.
Diffstat (limited to 'nptl/tst-sem7.c')
0 files changed, 0 insertions, 0 deletions