OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3516-gd8fa251
Gerrit Code Review
gerrit@openafs.org
Tue, 26 Feb 2013 08:50:15 -0800 (PST)
The following commit has been merged in the master branch:
commit d8fa251a14e9469fb6ec722d100b6a8557248694
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Feb 26 12:21:59 2013 +0000
ubik: Zero header before writing to disk
The ubik disk header contains a padding field, which is never
zeroed before being written out to disk. This means that there is
a shorts worth of stack garbage in every ubik label!
Just zero the whole structure with memset before we populate it.
Caught by coverity (#986011)
Change-Id: Ib9f8b45111a83178372409c717c30ccb6a1044f4
Reviewed-on: http://gerrit.openafs.org/9272
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/ubik/phys.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository