about summary refs log tree commit diff
path: root/malloc/tst-pvalloc.c
diff options
context:
space:
mode:
authorQingqing Li <liqingqing3@huawei.com>2022-09-22 15:32:56 -0400
committerDJ Delorie <dj@redhat.com>2022-09-22 15:32:56 -0400
commit774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6 (patch)
tree609c8125648c664b7a8362dcc0b0af1eceff8548 /malloc/tst-pvalloc.c
parentde477abcaaabb1f9815cb63876637a47a95e7ac1 (diff)
downloadglibc-774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6.tar.gz
glibc-774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6.tar.xz
glibc-774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6.zip
malloc: Print error when oldsize is not equal to the current size.
This is used to detect errors early.  The read of the oldsize is
not protected by any lock, so check this value to avoid causing
bigger mistakes.

Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'malloc/tst-pvalloc.c')
0 files changed, 0 insertions, 0 deletions