Re: [patch] to dentry_open() for NULL pointer dereference on ENFILE

From: Alexander Viro (viro@math.psu.edu)
Date: Tue Apr 04 2000 - 15:16:09 EST


On Tue, 4 Apr 2000, Anne Milicia wrote:

> The following patch to 2.3.99-pre3 fixes a kernel NULL pointer
> dereference when the VFS file-max limit is reached. The problem
> occurs when get_empty_filp() fails to return a file struct, and
> dentry_open() does a put_filp(NULL) at label cleanup_dentry.
> Problem exists in pre4-3, but I only tested this version.

My bad, and yes, patch is correct. Thanks.

-
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 : Fri Apr 07 2000 - 21:00:12 EST