diff options
author | Qingqing Li <liqingqing3@huawei.com> | 2022-09-22 15:32:56 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2022-09-22 15:32:56 -0400 |
commit | 774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6 (patch) | |
tree | 609c8125648c664b7a8362dcc0b0af1eceff8548 /sysdeps/posix/libc_fatal.c | |
parent | de477abcaaabb1f9815cb63876637a47a95e7ac1 (diff) | |
download | glibc-774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6.zip glibc-774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6.tar.gz glibc-774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6.tar.bz2 |
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 'sysdeps/posix/libc_fatal.c')
0 files changed, 0 insertions, 0 deletions