]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-rx-slow-write-packet-20090126
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 26 Jan 2009 22:54:06 +0000 (22:54 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 26 Jan 2009 22:54:06 +0000 (22:54 +0000)
commit3923a8ffe5d9fa17cd959cfd9435e3afc2b253dd
treefac4d556dd5da38225a8888a8179fba57fe1142e
parent68e35725841e2e74c46966977320ab80f66204fe
DEVEL15-rx-slow-write-packet-20090126

LICENSE MIT

In rx_SlowWritePacket the use of RX_MAXWVECS was incorrect.  The
niovecs field is allocated as [RX_MAXWVECS+1] with the 0th element
reserved for the rx header.  niovecs[RX_MAXWVECS] is therefore a
valid data buffer and the comparison should be (i <= RX_MAXWVECS).

This error has most likely not been noticed previously because
nothing in the OpenAFS source tree uses this function.

(cherry picked from commit 6e8039e8a55056f19895036ef6784f4fab5ab758)
src/rx/rx_packet.c