From: Tom Rini Date: Sat, 15 Apr 2017 12:12:16 -0400 Subject: [U-Boot] [PATCH 1/1] usbtty: avoid potential NULL pointer dereference In-Reply-To: <20170415130546.25341-1-xypron.glpk@gmx.de> References: <20170415130546.25341-1-xypron.glpk@gmx.de> Message-ID: <20170415161216.GS19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Apr 15, 2017 at 03:05:46PM +0200, Heinrich Schuchardt wrote: > If current_urb is NULL it should not be dereferenced. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: