From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [patch] [SCSI] aacraid: prevent ZERO_SIZE_PTR dereference Date: Tue, 29 Oct 2013 23:06:49 +0300 Message-ID: <20131029200649.GE20521@mwanda> References: <20131025144452.GA28451@ngolde.de> <20131029191007.GD21820@longonot.mountain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:18672 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607Ab3J2UHW (ORCPT ); Tue, 29 Oct 2013 16:07:22 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Linus Torvalds Cc: Adaptec OEM Raid Solutions , "James E.J. Bottomley" , Linux SCSI List , "security@kernel.org" You and James are right. It should be checking against the sizeof(). I will send a v2 tomorrow. Sorry about that. regards, dan carpenter