git: DragonFly_RELEASE_3_6 libc/rpc: Fix a reference of an uninitialized variable.
swildner at crater.dragonflybsd.org
Fri Feb 21 11:11:48 PST 2014
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(-)
DragonFly BSD source repository
More information about the Commits