diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-05-16 14:50:15 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-05-16 14:50:15 +0200 |
commit | 85b0e1e8a62c052e73b167ebf0c1a6a216525dce (patch) | |
tree | c6a7f6ba997191b8a4f0f010f5e0d5091f538b04 /support/xpthread_mutexattr_destroy.c | |
parent | 11b451c8868d8a2b0edc5dfd44fc58d9ee538be0 (diff) | |
download | glibc-85b0e1e8a62c052e73b167ebf0c1a6a216525dce.tar.gz glibc-85b0e1e8a62c052e73b167ebf0c1a6a216525dce.tar.xz glibc-85b0e1e8a62c052e73b167ebf0c1a6a216525dce.zip |
support: Report NULL blobs explicitly in TEST_COMPARE
Provide an explicit diagnostic if the length is positive, and do not just crash with a null pointer dereference. Null pointers are only valid if the length is zero, so this can only happen with a faulty test.
Diffstat (limited to 'support/xpthread_mutexattr_destroy.c')
0 files changed, 0 insertions, 0 deletions