diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-01 17:51:41 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-02 07:12:18 +0200 |
commit | 217b6dc298156bdb0d6aea9ea93e7e394a5ff091 (patch) | |
tree | e2a2d98615e9ac26cfb6e4399322c22889a214a1 /scripts/evaluate-test.sh | |
parent | 42d359350510506b87101cf77202fefcbfc790cb (diff) | |
download | glibc-217b6dc298156bdb0d6aea9ea93e7e394a5ff091.tar glibc-217b6dc298156bdb0d6aea9ea93e7e394a5ff091.tar.gz glibc-217b6dc298156bdb0d6aea9ea93e7e394a5ff091.tar.bz2 glibc-217b6dc298156bdb0d6aea9ea93e7e394a5ff091.zip |
Fix use of __pthread_attr_copy in mq_notify (bug 27896)
__pthread_attr_copy can fail and does not initialize the attribute
structure in that case.
If __pthread_attr_copy is never called and there is no allocated
attribute, pthread_attr_destroy should not be called, otherwise
there is a null pointer dereference in rt/tst-mqueue6.
Fixes commit 42d359350510506b87101cf77202fefcbfc790cb
("Use __pthread_attr_copy in mq_notify (bug 27896)").
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'scripts/evaluate-test.sh')
0 files changed, 0 insertions, 0 deletions