]> git.ipfire.org Git - thirdparty/glibc.git/commit
Use __pthread_attr_copy in mq_notify (bug 27896)
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 27 May 2021 10:49:47 +0000 (12:49 +0200)
committerArjun Shankar <arjun@redhat.com>
Thu, 10 Jun 2021 09:46:45 +0000 (11:46 +0200)
commit4b6be914bd3920500a67ef6ca1aa7d1c37e5e859
treef77f6a2f51150733e936210e6ccf4eb0f803f198
parentf4cba6ca1e5ff2c229af6d474c3ef2c0df2fae52
Use __pthread_attr_copy in mq_notify (bug 27896)

Make a deep copy of the pthread attribute object to remove a potential
use-after-free issue.

(cherry picked from commit 42d359350510506b87101cf77202fefcbfc790cb)
NEWS
sysdeps/unix/sysv/linux/mq_notify.c