Re: [PATCH] megaraid.c

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 12 Jun 2001 17:16:04 +0100 (BST)


> This patch fixes an instance where an allocation is checked, but only after
> the pointer is memset() - moving the memset further down in the function
> fixes this.

There are a ton of these in the scsi code in Linus tree, Im still merging them
please grab the -ac patch before you waste time on this - there are about
30 or 40 of these already fixed.

The SCSI one is _much_ more problematic because there are pieces of quite high
level code that blindly assumed a scsi command alloc always works etc..
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/