]> git.michaelhowe.org Git - packages/o/openafs.git/commit
volser: detect eof in dump stream while reading acl
authorMichael Meffie <mmeffie@sinenomine.net>
Fri, 30 Jan 2015 17:20:10 +0000 (12:20 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 31 Mar 2016 09:18:57 +0000 (05:18 -0400)
commite980a39cc39a02de8e112323f6037c740ee60728
treebcd1f76d7a0037d79ff4c36fab5bae16e0f56495
parentcc6dc146e71ca6501e5d2d8f7e3fafe83d289c8b
volser: detect eof in dump stream while reading acl

Detect an EOF condition while reading the ACL in a dump stream
and return a restore error, instead of filling the ACL with
0xFF and then failing the restore due to an invalid tag.

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

Change-Id: I9aacd635b8bbf89923db0121639d5112ab775c19
Reviewed-on: https://gerrit.openafs.org/12185
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/volser/dumpstuff.c