diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-03-31 11:44:02 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-04-15 11:14:57 +0000 |
commit | 9b0c8ced9c71a86f68d3e29693979dad6da3b79d (patch) | |
tree | 3a6a89e4af60a4792e61ee2161bcc1df9b319eb1 /sysdeps/unix/sysv/linux/dl-execstack.c | |
parent | 0296654d61ffa095fc7729f1efafa7d0e4fa4f7a (diff) | |
download | glibc-9b0c8ced9c71a86f68d3e29693979dad6da3b79d.zip glibc-9b0c8ced9c71a86f68d3e29693979dad6da3b79d.tar.gz glibc-9b0c8ced9c71a86f68d3e29693979dad6da3b79d.tar.bz2 |
malloc: Improve free checks
The checks on size can be merged and use __builtin_add_overflow. Since
tcache only handles small sizes (and rejects sizes < MINSIZE), delay this
check until after tcache.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-execstack.c')
0 files changed, 0 insertions, 0 deletions