[libvirt] [PATCH 5/3] rpc: correctly process sasl whitelist globs

2011-08-02 Thread Eric Blake
Detected by Coverity. We want to compare the result of fnmatch 'rv', not our pre-set return value 'ret'. * src/rpc/virnetsaslcontext.c (virNetSASLContextCheckIdentity): Check correct variable. --- src/rpc/virnetsaslcontext.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: [libvirt] [PATCH 5/3] rpc: correctly process sasl whitelist globs

2011-08-02 Thread Laine Stump
On 08/02/2011 03:06 PM, Eric Blake wrote: Detected by Coverity. We want to compare the result of fnmatch 'rv', not our pre-set return value 'ret'. * src/rpc/virnetsaslcontext.c (virNetSASLContextCheckIdentity): Check correct variable. --- src/rpc/virnetsaslcontext.c |2 +- 1 files

Re: [libvirt] [PATCH 5/3] rpc: correctly process sasl whitelist globs

2011-08-02 Thread Jiri Denemark
On Tue, Aug 02, 2011 at 13:06:44 -0600, Eric Blake wrote: Detected by Coverity. We want to compare the result of fnmatch 'rv', not our pre-set return value 'ret'. * src/rpc/virnetsaslcontext.c (virNetSASLContextCheckIdentity): Check correct variable. --- src/rpc/virnetsaslcontext.c |