2.3.99-pre5: NULL pointer dereference with root on NFS

Daniel Marmier (daniel.marmier@lightning.ch)
Thu, 13 Apr 2000 08:17:41 +0200


When booting 2.3.99-pre5 with root filesystem on NFS, I get a NULL
pointer dereference in fs/nfs/mount_clnt.c:xdr_decode_fhstatus (l. 124)
It is easily fixed by removing the line

memset((u8 *)res, 0, sizeof(*res));

that causes the pointer res->fh to be cleared. I guess the same applies
to function xdr_decode_fhstatus3.

Daniel Marmier

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/