git: mqueues: Partially sync with NetBSD.

看板DFBSD_commit作者時間16年前 (2010/01/16 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit c8b16402084f798630323f66751076ac7a064d4c Author: Stathis Kamperis <beket@dragonflybsd.org> Date: Fri Jan 15 22:14:26 2010 +0200 mqueues: Partially sync with NetBSD. This fixes the following critical issues: * An invalid signal number passed to mq_notify() could crash the kernel upon the signal delivery. * mq_send() to a full queue could crash the kernel due to NULL pointer dereference in timeout calculation. * Likewise for mq_receive() from an empty queue. Thanks to swildner@ for bringing this into my attention. Summary of changes: sys/kern/sys_mqueue.c | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c8b16402084f798630323f66751076ac7a064d4c -- DragonFly BSD source repository
文章代碼(AID): #1BKD3A3l (DFBSD_commit)