diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-21 19:45:01 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-07-03 23:39:38 +0300 |
commit | 6f6dd2ca9f4a235a0b2ab596d23cbbfd44d684f6 (patch) | |
tree | 8fee45dfad219c69c66c29090c8573b9d177c698 | |
parent | c75682cd39b9b3d382ce1b01fef06a84ca7ea0a9 (diff) | |
download | illumos-gate-6f6dd2ca9f4a235a0b2ab596d23cbbfd44d684f6.tar.gz |
11113 libgss: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r-- | usr/src/lib/libgss/g_acquire_cred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libgss/g_acquire_cred.c b/usr/src/lib/libgss/g_acquire_cred.c index c84d3a6ef7..eb6063e437 100644 --- a/usr/src/lib/libgss/g_acquire_cred.c +++ b/usr/src/lib/libgss/g_acquire_cred.c @@ -186,7 +186,7 @@ OM_uint32 * time_rec; } else mechs = desired_mechs; - if (mechs->count == NULL) + if (mechs->count == 0) return (GSS_S_BAD_MECH); /* allocate the output credential structure */ |