]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol: initialize FdHandle_t stack objects
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 15 Jan 2011 16:39:39 +0000 (11:39 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 3 Feb 2011 20:02:52 +0000 (12:02 -0800)
commit914e70a60309104c81daadc4e12ec294c2b22197
treed58b857e310e83b3c9f7c496bc2853e5d9ca7ddb
parent64b3fa0f5a02c8fd394138ffefefdcc86d9e55d2
vol: initialize FdHandle_t stack objects

In namei_create() a temporary FdHandle_t is allocated on
the stack but was never initialized.  Depending on what
prior data was on the stack the FdHandle_t could result
in subsequent operations failing in unpredictable ways.

Reviewed-on: http://gerrit.openafs.org/3667
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 05d5f012e0be9be1c2c82871a75ac76d437b9688)

Change-Id: I44913419e09b36a3581320cd169bbc4774cd0208
Reviewed-on: http://gerrit.openafs.org/3829
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/namei_ops.c