glibc/rt
Nikita Popov 75507b3337 librt: add test (bug 28213)
This test implements following logic:
1) Create POSIX message queue.
   Register a notification with mq_notify (using NULL attributes).
   Then immediately unregister the notification with mq_notify.
   Helper thread in a vulnerable version of glibc
   should cause NULL pointer dereference after these steps.
2) Once again, register the same notification.
   Try to send a dummy message.
   Test is considered successfulif the dummy message
   is successfully received by the callback function.

Signed-off-by: Nikita Popov <npv1310@gmail.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit 4cc79c2177)
2021-08-17 19:02:46 +05:30
..
bits Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_cancel.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_error.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_fsync.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_misc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_notify.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_read64.c
aio_read.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_return.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_sigqueue.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_suspend.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_write64.c
aio_write.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Depend
lio_listio64.c
lio_listio.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile librt: add test (bug 28213) 2021-08-17 19:02:46 +05:30
mq_close.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_notify.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_open.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_receive.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_send.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_setattr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_timedreceive.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_timedsend.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mq_unlink.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shm_open.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shm_unlink.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio5.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio6.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio8.c
tst-aio9.c
tst-aio10.c
tst-aio64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-aio.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-bz28213.c librt: add test (bug 28213) 2021-08-17 19:02:46 +05:30
tst-cpuclock2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-cputimer1.c
tst-cputimer2.c
tst-cputimer3.c
tst-mqueue1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue5.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-shm-cancel.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-shm.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-timer2.c
tst-timer3.c
tst-timer4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-timer5.c
tst-timer-sigmask.c Block all signals on timer_create thread (BZ#10815) 2020-02-19 13:46:31 -03:00
tst-timer.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions