OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_75-173-g90b7553
Gerrit Code Review
gerrit@openafs.org
Thu, 12 Aug 2010 13:57:38 -0700 (PDT)
The following commit has been merged in the master branch:
commit 90b75531add729ecbcc46f2a6fb070993b96bcec
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Thu Aug 12 16:33:04 2010 -0400
Linux: avoid oops in memcpy_toiovec
With ADAPT_PMTU enabled, kernel_recvmsg can be called to receive
errors. The call is made with no iovec supplied (we pass a NULL
pointer), but with a size of 256. In the kernel, the memcpy_toiovec
function tests for size > 0, and proceeds to check iovec->iov_len,
which causes an oops. Fix by setting the size to 0.
Change-Id: I3c672c2e67d0aa5af2bd54d0c14aaeae3bb3c530
Reviewed-on: http://gerrit.openafs.org/2546
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/rx/LINUX/rx_knet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository