mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
auth/authcon.c: fix likely mistake
It seems likely the original developer intended to check *scIndex==RX_SECIDX_NULL rather than scIndex==RX_SECIDX_NULL. Change-Id: I8a33d3cb177a9212917613581957073392b08314 Reviewed-on: http://gerrit.openafs.org/8881 Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
This commit is contained in:
parent
d9cc9c9dee
commit
1b37493351
@ -331,7 +331,7 @@ afsconf_PickClientSecObj(struct afsconf_dir *dir, afsconf_secflags flags,
|
||||
* explicitly requested. Check for this, and bail out if we
|
||||
* get one. Note that this leaks a security object at present
|
||||
*/
|
||||
if (scIndex == RX_SECIDX_NULL) {
|
||||
if (*scIndex == RX_SECIDX_NULL) {
|
||||
sc = NULL;
|
||||
code = AFSCONF_NOTFOUND;
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user