Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 01DFAC433F5 for ; Fri, 29 Apr 2022 18:03:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 125A283E3C; Fri, 29 Apr 2022 20:03:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="ip1l2Hzh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5CC7183EF5; Fri, 29 Apr 2022 20:03:26 +0200 (CEST) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9AE4983DEF for ; Fri, 29 Apr 2022 20:03:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id h3so1743840qtn.4 for ; Fri, 29 Apr 2022 11:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=n1AoeptMTlCniFP91ONFxnXGIEMxu9cEOhAaFs3/B3g=; b=ip1l2HzhYW6TkBQjLgcBvh52q2HrbGicBKSNAi/kFQEsCETkQBe/J/GHRSgQ+4IJly jNfB9ebu6UCpP0OIbKjQ08tgPAolyXJC6UGYJmLOAtPyrXIDXHUiCtQgvoydHEqiDJEC 8gFu/zou9dNA0kewTlw7iWoe3qvzQkMuOAC9U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=n1AoeptMTlCniFP91ONFxnXGIEMxu9cEOhAaFs3/B3g=; b=OOa50OPhSGp2boxYW2rbgm3wY8m1D3rOwuBpn79w16Q3FVt9v+cXf8jWBlPHuOxN3F OpfFkS4Id/wqFH7Bb/dSESMXYti8IefS1KZ/FB/1hQKIJszrlBWNe5AL+v2+hCYBHxkg o3arz+o7dKg20Y+R8+inWBg8WI5Fh1taDZVaYMR4XpMk4SkPUNyGF6cTMxrgzN4G7HAR 33aFcuTHofWsOuNTOBayB6NMrOzShorvxEAq0BrAEoNST/G6VQlb3GGz2O8nLq2OzHbk Ar+Y+QkvCPHwzq58ZBQR5L1tquHIK/zh/9XbrOT11HZ0eNpl1gQG4mw6mvLEKYiXBB6B Hx9A== X-Gm-Message-State: AOAM532/+KJO0VLj+0xiCub/eyOOD7PhGKCu1eCjJJPgDJmzFHrDXHO8 aNaubz6Kws7I8JOhuKj3BXSApg== X-Google-Smtp-Source: ABdhPJyHf9/rWQag9rA2GLQ1lNs5qeaTQCVvXB7YiZk5o/vcBFzQyGVXTcqyFcTSHtCZ85AIVB23ag== X-Received: by 2002:ac8:5f09:0:b0:2f3:7005:6f58 with SMTP id x9-20020ac85f09000000b002f370056f58mr527775qta.439.1651255400368; Fri, 29 Apr 2022 11:03:20 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-a827-6dbc-a8e1-e6af.res6.spectrum.com. [2603:6081:7b01:4500:a827:6dbc:a8e1:e6af]) by smtp.gmail.com with ESMTPSA id 123-20020a370c81000000b0069fa408fdb7sm1812304qkm.24.2022.04.29.11.03.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 11:03:19 -0700 (PDT) Date: Fri, 29 Apr 2022 14:03:17 -0400 From: Tom Rini To: Andrew Scull Cc: u-boot@lists.denx.de, sjg@chromium.org, seanga2@gmail.com, Wolfgang Wallner , Bin Meng Subject: Re: [PATCH 2/8] acpi: Fix buffer overflow in do_acpi_dump() Message-ID: <20220429180317.GX1182808@bill-the-cat> References: <20220403103915.3338027-1-ascull@google.com> <20220403103915.3338027-3-ascull@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0k4Rxg87Lb8yV0u3" Content-Disposition: inline In-Reply-To: <20220403103915.3338027-3-ascull@google.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --0k4Rxg87Lb8yV0u3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 03, 2022 at 10:39:09AM +0000, Andrew Scull wrote: > When do_acpi_dump() converts the table name to upper case, pass the > actual size of the output buffer so that the null terminator doesn't get > written beyond the end of the buffer. >=20 > Signed-off-by: Andrew Scull > Cc: Simon Glass > Cc: Wolfgang Wallner > Cc: Bin Meng > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --0k4Rxg87Lb8yV0u3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJsKGUACgkQFHw5/5Y0 tyzQ8Av9FHOk8r38MObK/3EL6DavimREdpt6fmD5TV1XGri6T9qBz6sTCWg6jW/G UrQQiRbU5tHciW/5IJHOSiLtayQyZGd0usvMLKzdMyajhGZ1JBQyZOklfGbnPKMk nriUDalRfebTEnlF8SGXFQ3eOj3E9YGZyskYnY1VXjCsdszwZjliIBUftUwnTgzF Xf89H58xRn26CiBg3A9spPLG0VR2jLrOl7LwDXIrtoUgeUe1o/A79Cvtl2w9sPUN BDFzJdt1bi1OqiBdW1VHiOMEhNHlHjgkxP0ZmB1CfAiSRDoLgMlPBOzYmIgWcMB/ E/AuCUOe/XE0lNWB/VzAyDWSsLwBhyOZLRxTYS2WAXlqBuizseXtrYanUnBoVQeB Qj0aR0mPyPQMW1hVEBGkciMD1Bvz153tcMmSH1HqMDXMX/h3xYRtkxPmBOuZjrBa OkKHHZ/X8TUPHX4oyL2flFUlpBi+/d4+smYMrsD8R/wQ12ntKSnUBzfeG9H4v0B/ 1rzqz9Q0 =JbRe -----END PGP SIGNATURE----- --0k4Rxg87Lb8yV0u3--