diff options
author | Eyal Itkin <eyalit@checkpoint.com> | 2020-03-31 02:00:14 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2020-03-31 21:48:54 -0400 |
commit | 49c3c37651e2d2ec4ff8ce21252bbbc08a9d6639 (patch) | |
tree | 627252d100433cfb1bcd5a600077cbf7ab4d43f7 /sysdeps/arm | |
parent | 768358b6a80742f6be68ecd9f952f4b60614df96 (diff) | |
download | glibc-49c3c37651e2d2ec4ff8ce21252bbbc08a9d6639.tar.gz glibc-49c3c37651e2d2ec4ff8ce21252bbbc08a9d6639.tar.xz glibc-49c3c37651e2d2ec4ff8ce21252bbbc08a9d6639.zip |
Fix alignment bug in Safe-Linking
Alignment checks should be performed on the user's buffer and NOT on the mchunkptr as was done before. This caused bugs in 32 bit versions, because: 2*sizeof(t) != MALLOC_ALIGNMENT. As the tcache works on users' buffers it uses the aligned_OK() check, and the rest work on mchunkptr and therefore check using misaligned_chunk(). Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/arm')
0 files changed, 0 insertions, 0 deletions