From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jabberwock.ucw.cz ([46.255.230.98]:50192 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727079AbgBJS6Z (ORCPT ); Mon, 10 Feb 2020 13:58:25 -0500 Date: Mon, 10 Feb 2020 19:58:23 +0100 From: Pavel Machek Subject: Re: [PATCH] scripts/kallsyms: fix memory corruption caused by write over-run Message-ID: <20200210185822.GA420@amd> References: <20200210161852.842-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <20200210161852.842-1-masahiroy@kernel.org> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, youling257 , linux-kernel@vger.kernel.org --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2020-02-11 01:18:52, Masahiro Yamada wrote: > scripts/kallsyms crashes because memcpy() writes one more byte than > allocated. >=20 > Fixes: 8d60526999aa ("scripts/kallsyms: change table to store (strcut sym= _entry *)") > Reported-by: youling257 > Reported-by: Pavel Machek > Signed-off-by: Masahiro Yamada Tested-by: Pavel Machek Thanks! Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl5Bp84ACgkQMOfwapXb+vIjYQCfedtM2eZCZ29z9ojkk2B0W2ML 1xcAoKkKc3GstwIw7jiXhejvrEAuVRQe =ZKh/ -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--