2.3.99-pre5: NULL pointer dereference with root on NFS

From: Daniel Marmier (daniel.marmier@lightning.ch)
Date: Thu Apr 13 2000 - 01:17:41 EST


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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:20 EST