]> git.michaelhowe.org Git - packages/o/openafs.git/commit
budb: SBUDB_FindLatestDump should check result of FillDumpEntry
authorMark Vitale <mvitale@sinenomine.net>
Tue, 11 Sep 2018 19:59:41 +0000 (15:59 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 21 Dec 2018 13:22:25 +0000 (08:22 -0500)
commit82f9557c43f239c22fe1cb33d970392fdd049e29
treefdec24d9e7c730311d09ff3aef04f7bb9f81349b
parentaf0636ac6f69a6f82f4fe7ab1895f4559a55c34b
budb: SBUDB_FindLatestDump should check result of FillDumpEntry

FillDumpEntry may return an error, but FindLatestDump doesn't check its
result.  Therefore, SBUDB_FindLatestDump may return invalid results.

Instead, check the return code from FillDumpEntry and abort the call if
it fails.

Reviewed-on: https://gerrit.openafs.org/13312
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 2d8045d67686fbb80696b47b4a60e48e7e74fec9)

Change-Id: I47328fc61c492c82ae5e0cce8ca3a292706c7413
Reviewed-on: https://gerrit.openafs.org/13329
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/budb/procs.c