[OpenAFS-devel] Fwd: [Bug 150469] openafs gives segfault on
kernel 2.6.22-13
Chaskiel M Grundman
cg2v@andrew.cmu.edu
Tue, 09 Oct 2007 17:23:10 -0400
--On Tuesday, October 09, 2007 01:46:31 PM -0700 Russ Allbery
<rra@stanford.edu> wrote:
> [11019.800000] BUG: unable to handle kernel NULL pointer dereference at
> virtual address 00000000
> [11019.800000] EIP is at PSetTokens+0x2c/0x210 [openafs]
The opcode stream suggests that what's losing is the memcpy((char *)&i,
ain, sizeof(afs_int32)), suggesting that the ain argument is null. My
reading of HandlePioctl says that cannot happen, so
I am confused. I wonder if we have more gcc-4.2 fun with optimizing tests
away.