]> git.michaelhowe.org Git - packages/o/openafs.git/commit
libafscp: NULL return value not pointer
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 26 Feb 2013 11:52:01 +0000 (11:52 +0000)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 28 Aug 2013 12:47:28 +0000 (05:47 -0700)
commit220336585530ff9f0b4b1e3b47e3dd6727a18ab3
tree331bba2c11a2f46061c350505ee7eb6c25338dce
parent2d3ae77f9f26f64c88415a2e063e28c2cebeed1c
libafscp: NULL return value not pointer

When afscp_FindCallBack sets its return-by-reference value to NULL,
it should do so to the value itself, not the pointer to it.

Caught by coverity (#988419)

Reviewed-on: http://gerrit.openafs.org/9266
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 99929488511d13dab94491cac1d477062f9da741)

Change-Id: I046189684cef6c88c46455a90ab49d03da1f1cab
Reviewed-on: http://gerrit.openafs.org/9359
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/libafscp/afscp_callback.c