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

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


commit 5f873412dec021a3cdff0f7ac7390cde47fdae53
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/5f873412dec021a3cdff0f7ac7390cde47fdae53


-- 
DragonFly BSD source repository


More information about the Commits mailing list