diff options
| author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-10-29 14:53:55 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-10-29 14:56:53 +0530 |
| commit | 01bffc013cdad1e0c45db7aa57efb2bee61f3338 (patch) | |
| tree | dc29af554d5fbf5b5a24dc3d882f7dd7def55fb8 /scripts/cpp | |
| parent | 024a7640ab9ecea80e527f4e4d7f7a1868e952c5 (diff) | |
| download | glibc-01bffc013cdad1e0c45db7aa57efb2bee61f3338.tar.xz glibc-01bffc013cdad1e0c45db7aa57efb2bee61f3338.zip | |
Handle NULL input to malloc_usable_size [BZ #28506]
Hoist the NULL check for malloc_usable_size into its entry points in
malloc-debug and malloc and assume non-NULL in all callees. This fixes
BZ #28506
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
(cherry picked from commit 88e316b06414ee7c944cd6f8b30b07a972b78499)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions
