Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030579Ab2HHRSO (ORCPT ); Wed, 8 Aug 2012 13:18:14 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:57858 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030474Ab2HHRSM (ORCPT ); Wed, 8 Aug 2012 13:18:12 -0400 Message-ID: <50229F4A.3010002@pengutronix.de> Date: Wed, 08 Aug 2012 19:18:02 +0200 From: Marc Kleine-Budde Organization: Pengutronix e.K. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Alexey Khoroshilov CC: Kurt Van Dijck , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@ispras.ru Subject: Re: [PATCH] can/softing: Fix potential memory leak in softing_load_fw() References: <1344438901-25005-1-git-send-email-khoroshilov@ispras.ru> In-Reply-To: <1344438901-25005-1-git-send-email-khoroshilov@ispras.ru> X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1E3FA5183655B02D06137DED" X-SA-Exim-Connect-IP: 2001:6f8:1178:4:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1551 Lines: 44 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1E3FA5183655B02D06137DED Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/08/2012 05:15 PM, Alexey Khoroshilov wrote: > Do not leak memory by updating pointer with potentially NULL realloc re= turn value. >=20 > Found by Linux Driver Verification project (linuxtesting.org). >=20 > Signed-off-by: Alexey Khoroshilov Thanks for the work, applied to can/master. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --------------enig1E3FA5183655B02D06137DED Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAin0oACgkQjTAFq1RaXHPaiQCeN/jNtWYyGKc9JT8hlY7re9dI teoAn1LCRd0QVsy03TJqalQjowDfxE22 =KS42 -----END PGP SIGNATURE----- --------------enig1E3FA5183655B02D06137DED-- -- 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/