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

git: kernel - Adjust impossible conditions in kdmsg_state_*()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Aug 2013 23:23:53 -0700 (PDT)

commit 0a2f67afbeb09ba5255fe4f9f9f607651ea3efe6
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Aug 5 23:22:56 2013 -0700

    kernel - Adjust impossible conditions in kdmsg_state_*()
    
    * kdmsg_state_reply() and kdmsg_state_result() require a non-NULL state.
      Assert the condition and remove the else clause that was broken in the
      first place.
    
    Reported-by: Joris giovannang

Summary of changes:
 sys/kern/kern_dmsg.c | 40 ++++++++++++++++------------------------
 1 file changed, 16 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a2f67afbeb09ba5255fe4f9f9f607651ea3efe6


-- 
DragonFly BSD source repository



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