]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afsd: Avoid dir interpolation for memcache
authorAndrew Deason <adeason@sinenomine.net>
Mon, 21 May 2012 22:11:29 +0000 (17:11 -0500)
committerDerrick Brashear <shadow@dementix.org>
Tue, 29 May 2012 00:32:57 +0000 (17:32 -0700)
commit8c99f6de5d6a7701f6b2b7cd8ba5b9a808d79946
tree0ebfe2075e7facfdb15b90dc45e6b9748a59d24b
parentb2079ef799f45efe2a59f4d20ef482ebf1d2b584
afsd: Avoid dir interpolation for memcache

memcache doesn't make use of fullpn_DCacheFile, fullpn_VolInfoFile,
etc. Do not even try to generate these strings for memcache, since
cacheBaseDir will be NULL, and so this can cause a segfault on some
platforms including Solaris.

Reviewed-on: http://gerrit.openafs.org/7442
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 2e2bc535bd03df86f78b648f78d2d0a95d273fab)

Change-Id: I46f2da9b2f0e5f8d004ebd3d799a3c1ac22c3e95
Reviewed-on: http://gerrit.openafs.org/7501
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afsd/afsd.c