From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,TRACKER_ID,URIBL_BLOCKED, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4333AC282CE for ; Tue, 4 Jun 2019 07:49:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22DDA24CF4 for ; Tue, 4 Jun 2019 07:49:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726821AbfFDHtd (ORCPT ); Tue, 4 Jun 2019 03:49:33 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:59176 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726637AbfFDHtd (ORCPT ); Tue, 4 Jun 2019 03:49:33 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 3D5AF8030C; Tue, 4 Jun 2019 09:49:21 +0200 (CEST) Date: Tue, 4 Jun 2019 09:49:28 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Chris Packham , "David S. Miller" Subject: Re: [PATCH 4.19 19/32] tipc: Avoid copying bytes beyond the supplied data Message-ID: <20190604074928.GA24856@amd> References: <20190603090308.472021390@linuxfoundation.org> <20190603090313.753666374@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <20190603090313.753666374@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Chris Packham >=20 > TLV_SET is called with a data pointer and a len parameter that tells us > how many bytes are pointed to by data. When invoking memcpy() we need > to careful to only copy len bytes. This one misses upstream commit id. AFAICT, patch is upstream and hash is= =20 9bbcdb07a53549ed072f03a88a5012e939a64c01 Best regards, Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlz2IogACgkQMOfwapXb+vKvMgCdHV64o5WUVlp50seYfQdX+wSv yTMAoLANzTQ1eKz95Xd6tqv+r5pLDea8 =c0T1 -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--