Re: Fix UDF-FS potentially dereferencing null

From: Jeff Garzik
Date: Fri Apr 16 2004 - 18:15:09 EST

viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
On Fri, Apr 16, 2004 at 10:41:04PM +0100, Dave Jones wrote:

Move size instantiation after null check for 'dir', nearer
to where its first used.

Check in question is a BS - it never gets NULL passed as dir.

Yes, it looks like a lot of these NULL checks caught can be fixed simply by removing bogus and/or redundant checks.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at