auth: check if argument of afsconf_Close* is null 52/13352/2
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Mon, 1 Oct 2018 21:44:22 +0000 (17:44 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 9 Oct 2018 14:28:27 +0000 (10:28 -0400)
commitbd58bb85004a18bb6681ff2b0c13a04e23c4d9c4
tree7b701b88328992690fff6553ee4accfc9b55070a
parent0835d7c2a183f896096684df06258aefd297f080
auth: check if argument of afsconf_Close* is null

Currently, we do not check if the argument of afsconf_Close /
afsconf_CloseInternal is equal to null. In order to avoid a possible
segmentation fault, add the checks.

Change-Id: I45635ad2d735505637072867edb7ff17da3c671a
Reviewed-on: https://gerrit.openafs.org/13352
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
src/auth/cellconfig.c