readgroup: Don't use results if error occurs
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 28 Feb 2013 10:20:22 +0000 (10:20 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Fri, 1 Mar 2013 00:12:01 +0000 (16:12 -0800)
commita80cb27ae89877c96c6074ab2f6a7b3e51485768
treea87dc20e623e318986525a6b8e390a24db05f47c
parented3f1134460546888e2306262d88d6886beae7e1
readgroup: Don't use results if error occurs

If pr_ListMembers returns an error, don't try and use the results
it provides, as they could be garbage.

Caught by coverity (#92119)

Change-Id: Idcfb464953dcdec68cba988d3fb1ab6ddad08340
Reviewed-on: http://gerrit.openafs.org/9308
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/ptserver/readgroup.c