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

git: DragonFly_RELEASE_3_0 svc_vc_create(3): Initialize xprt with NULL.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Mar 2012 00:59:11 -0800 (PST)

commit cfeb16c7492118d8917de04d71aee4615000a7c0
Author: Sascha Wildner <saw@online.de>
Date:   Sat Mar 10 09:27:36 2012 +0100

    svc_vc_create(3): Initialize xprt with NULL.
    
    In the (corner-)case of being out of memory, this prevents free() to be
    called on an uninitialized xprt below the cleanup_svc_vc_create: label.

Summary of changes:
 lib/libc/rpc/svc_vc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cfeb16c7492118d8917de04d71aee4615000a7c0


-- 
DragonFly BSD source repository



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