]> git.michaelhowe.org Git - packages/o/openafs.git/commit
rx: Zero unitialized uio structs
authorAndrew Deason <adeason@sinenomine.net>
Wed, 4 Feb 2015 16:25:38 +0000 (10:25 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 13 Feb 2015 17:33:35 +0000 (12:33 -0500)
commit8f4823934bbad984c5cc2961e4f6fc410afb7535
tree67ed1befa869ca119f77cbdde9e7d7f0fd0f4955
parenta2603d4dd02194a05a550a5759970515b9aa2f08
rx: Zero unitialized uio structs

We use some uio structures that were allocated on the stack, but we
only initialize them by initializing individual fields. On some
platforms (Solaris is one known example, but probably not the only
one), there are additional fields we do not initialize. Since we
cannot be certain of what any additional fields there may be, just
zero the whole thing.

This is basically the same change as
I0eae0b49a70aee19f3a9ec118b03cfb3a6bd03a3, but in the rx subtree.

Reviewed-on: http://gerrit.openafs.org/11711
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
(cherry picked from commit a762e6871ad6837ee126cec9e63d99388b4bf119)

Change-Id: Ie6a2cce500d6a0a7a09c305296f4b34d122d3108
Reviewed-on: http://gerrit.openafs.org/11714
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/rx/DARWIN/rx_knet.c
src/rx/FBSD/rx_knet.c
src/rx/HPUX/rx_knet.c
src/rx/IRIX/rx_knet.c
src/rx/NBSD/rx_knet.c
src/rx/OBSD/rx_knet.c
src/rx/SOLARIS/rx_knet.c