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 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 57041C001DF for ; Thu, 3 Aug 2023 21:48:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1621C86CD9; Thu, 3 Aug 2023 23:47:08 +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="t/XdcLKG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13DF6866BD; Thu, 3 Aug 2023 23:47:07 +0200 (CEST) Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (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 DC12486CD9 for ; Thu, 3 Aug 2023 23:47:04 +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-yb1-xb35.google.com with SMTP id 3f1490d57ef6-bcb6dbc477eso1505347276.1 for ; Thu, 03 Aug 2023 14:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1691099223; x=1691704023; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=p5UDlExkCe5D56hTRqtAVnoZG7+n3QvHhA4ci0c4+Zk=; b=t/XdcLKGYQ4jE16Krdc1QMj6Orku5rMv95tfryrB9yPRy9wxkfl3rQbZvQ607B5rRu IHdljRoZLSwUeFn3j4P4XPXXcRWfQ2GIaTp1qpBSaFIourE2DKFMxnQg5fnepqpbKpn6 vmo5/52MBUB+oH8KRJ+aAq9PyEmQ4/9pW3L3g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691099223; x=1691704023; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p5UDlExkCe5D56hTRqtAVnoZG7+n3QvHhA4ci0c4+Zk=; b=fZZgGRZ2WjEPG+f2T0CKBatvC3AGKLgsgaLBvHERRQqMrkbCrnzGCXFhiO++uRRCle GIE2ns5yfW/OgxxZz34YmhFD3wUAHSM0JtJAR/jp+WUp4JemupqXLcCRRatFM1OtzA4j nM/G+QDnPgyxfViLuF+kxKn7bWTyVN2iGHnWgasan+04uB8dqTIh5MLVKFAUllkK4sKw l6F/xwhMLeiC3fLNAlARLwDyqSUHD0jM3lhmWQOP8QDDEOs4D25M8Lx4+KWgMwojlycl vpjPk+nNL5p7GMyh75bV22biavgT8th66HpkrVuCalBwPq/2B5B9iBrLCWMB6CE4OZgH l+Zg== X-Gm-Message-State: ABy/qLY7sItIGzqiLDehkxN0QPWAEhbdiCVLPewhZiJ0tlqZ7Vw8PMog HziXhpE91nk1mtTBviUJRpFBECQ8pfZlpiA2jP5cJw== X-Google-Smtp-Source: APBJJlFqOBX1l/R1Wn05aL5K62IDI/lPAnW5mRpIDEUJvNbhi7TU9Kuw5uD9irYdyNyXbwuCPSoXtA== X-Received: by 2002:a25:86ca:0:b0:d06:d1ae:dcf2 with SMTP id y10-20020a2586ca000000b00d06d1aedcf2mr15458274ybm.13.1691099223599; Thu, 03 Aug 2023 14:47:03 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-68ac-3ac0-af0b-6541.res6.spectrum.com. [2603:6081:7b00:6400:68ac:3ac0:af0b:6541]) by smtp.gmail.com with ESMTPSA id d130-20020a254f88000000b00d0b0bbe574asm194376ybb.44.2023.08.03.14.47.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 14:47:03 -0700 (PDT) Date: Thu, 3 Aug 2023 17:47:01 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List Subject: Re: [PATCH 5/5] bootstd: Init the size before reading extlinux file Message-ID: <20230803214701.GK3630934@bill-the-cat> References: <20230727030128.459760-1-sjg@chromium.org> <20230727030128.459760-6-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RWGU4VZt4DdkZeKX" Content-Disposition: inline In-Reply-To: <20230727030128.459760-6-sjg@chromium.org> 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.8 at phobos.denx.de X-Virus-Status: Clean --RWGU4VZt4DdkZeKX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 26, 2023 at 09:01:25PM -0600, Simon Glass wrote: > The implementation in extlinux_pxe_getfile() does not pass a valid size > to bootmeth_read_file(), so this can fail if the uninited value happens to > be too small. >=20 > Fix this. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --RWGU4VZt4DdkZeKX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmTMIFUACgkQFHw5/5Y0 tyzNcwv9F0QqQNdEgv6MDS8VoeM+cJqOwrgZeRmXjvOnrF+ZTXESNV94dwNZwhkw U1BiSZHRSpmNLfTPa8gGrfmjGo/lOzmAP2dSGiYVzkMBUkx5sVa8lME/FgStXkYq Vg5bDK79dVPQiasBeK0Ol6MwYsaA7e+2o/3kn5OfKn2Oy2cFUsfpomHhHLCOoZK5 SFBrcMJlACte6n2VpbqpIrdWFgN++tiqvZADo5oCTFY/g8pyTHoqYq+1WJWth8aw pvaP++XibI4s+ZI4cTjjTt/9GKiHeer463UmSlW2X6E87uqHTdQP01MZmlnwNLtX 7IJsZOre32G4eGt7anFbHhASnq9WtdgkJSGOV5i9Tc+KZ0FbF4W+bSNgPannsnZM rLwSz0W6oIw/MEKQenfMfojsk5xvjKX/NGnCid+QwMz7Hy4bnznhcT6Quzx4Qpx7 KW1Skhz2jGw/nnZxN12ctI0dBMNQt/bcOrZA5ypsHbb/5RGVP/BVkWo3TRSChwlK HhxgeqJQ =UCxS -----END PGP SIGNATURE----- --RWGU4VZt4DdkZeKX--