]> git.michaelhowe.org Git - packages/o/openafs.git/commit
budb: Do not use garbage cellinfo
authorAndrew Deason <adeason@sinenomine.net>
Wed, 31 Jul 2013 20:58:41 +0000 (15:58 -0500)
committerRuss Allbery <rra@debian.org>
Sun, 20 Oct 2013 15:51:25 +0000 (08:51 -0700)
commit6908c11b1adc79b5c74f33bcdf31340fc06436d6
tree7d6d4089400f0ddeffdd9eace6b3c171015ddee7
parent274b2c42000f6e2bb2d089d2d71dcf720dc8ff6a
budb: Do not use garbage cellinfo

If the -servers option is given, we never initialize cellinfo or the
clones array. So, don't give the cellinfo structure or the clones
array to ubik in that case, or we may crash or do other weird things.

This issue appears to have been introduced in commit fc4ab52e.

FIXES 131706

Reviewed-on: http://gerrit.openafs.org/10115
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 6b0016dd992b3215cb17c93812e14de9e4916d25)

Change-Id: I7174d3ac596fb9ecf512aa159fdc839714f8791c
Reviewed-on: http://gerrit.openafs.org/10166
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/budb/server.c