git: kernel/netgraph: Set resp to NULL if it is kfree()'d in the switch case.
    Sascha Wildner 
    swildner at crater.dragonflybsd.org
       
    Wed Dec  7 13:12:49 PST 2011
    
    
  
commit a21e70908d865ddedb1548272e8b26298838981a
Author: Sascha Wildner <saw at online.de>
Date:   Wed Dec 7 22:11:09 2011 +0100
    kernel/netgraph: Set resp to NULL if it is kfree()'d in the switch case.
    
    This will prevent a later kfree() in the function from freeing it again.
Summary of changes:
 sys/netgraph/ksocket/ng_ksocket.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a21e70908d865ddedb1548272e8b26298838981a
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list