git: DragonFly_RELEASE_3_6 libc/rpc: Fix a reference of an uninitialized variable.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Feb 21 11:11:48 PST 2014


commit 4a41f67b4c2beb13c11439999a56614dd071e3a8
Author: Sascha Wildner <saw at online.de>
Date:   Fri Feb 21 20:09:21 2014 +0100

    libc/rpc: Fix a reference of an uninitialized variable.
    
    In the XDR_DECODE case, pnext was not initialized and it was obscured
    by the confusing indentation which I adjusted in the last commit.
    
    In fact, get rid of pnext at all and simply use &objp->next directly,
    which is like Illumos has it too.

Summary of changes:
 lib/libc/rpc/rpcb_st_xdr.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a41f67b4c2beb13c11439999a56614dd071e3a8


-- 
DragonFly BSD source repository


More information about the Commits mailing list