DragonFly BSD
DragonFly commits List (threaded) for 2010-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: mqueues: Partially sync with NetBSD.


From: Stathis Kamperis <beket@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Jan 2010 12:26:21 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]