OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3515-ge191cb8
Gerrit Code Review
gerrit@openafs.org
Tue, 26 Feb 2013 08:44:51 -0800 (PST)
The following commit has been merged in the master branch:
commit e191cb889c941848fe09f04c24d969111e6dc494
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Feb 26 12:17:29 2013 +0000
viced: Don't write out garbage when extending file
When we extend a file, we write a single byte of data to it - tlen
is used as a source for this single byte. However, in the current
code, tlen is used uninitialised. Set it to 0, so we don't write a
byte of stack garbage.
Caught by coverity (#986015)
Change-Id: I11480a5ba0a5544437e18a6b314ff98ba6256df0
Reviewed-on: http://gerrit.openafs.org/9271
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/viced/afsfileprocs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository