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 71930ECAAD2 for ; Tue, 30 Aug 2022 02:30:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D252A84974; Tue, 30 Aug 2022 04:30:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="e4a0Ekcy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 597C584974; Tue, 30 Aug 2022 04:30:16 +0200 (CEST) Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) (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 DCF4D84974 for ; Tue, 30 Aug 2022 04:30:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-33dc31f25f9so240576077b3.11 for ; Mon, 29 Aug 2022 19:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc; bh=i31yx+cKxk9sK1fmt6EBrqSXGycxLKuuiPwV43xwfTo=; b=e4a0EkcytgiL6PjU0bUiC1SxzAF6cmOmQ+XGSxjCwKRR0OzT1B5lCyqpPCwCNMFcTl c1TszFuNf7L8l/2MSDEW5AQu/7K3nClBu5Y/8RGaQbJ63wfJbd97HKLZkS2JnLiZDzzy baBKTfjgy3LSyVA0RxV8734o0YUsmnNqVBaN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc; bh=i31yx+cKxk9sK1fmt6EBrqSXGycxLKuuiPwV43xwfTo=; b=X1+IBdY5DVUxByJoXpXAum8656IjExnYWprQukWo+lP+bpavIBv2V0noE2hMqgUAfU K1y7Q2ArcEazqPSki7zhbmRRtOszwvKwlZKWCNS1Q4CLqD23ZmUX3FWo/kD3Y1p8pQ79 5+SldSuU/QHaJrPg7HnxdR496WAc5PYHYBROlU5/QL714HIXmy9Ch3Gd4JYTZC/ud4Np UjDyNQ8jvMGwBUT/GJ7ToWO6/Y9efFPI77iU/OJh+z7SB1llIK1G4gBt/EVTR/w8Yt6x L8WCtuCiCXcxELXhgZonHpKJGmzSJdjaAqCTOO6Zggh6CkDzVilnraXPn6Rkm4Lb9Xpg X3JA== X-Gm-Message-State: ACgBeo0r+5BUmo0IfAaXs9JQLFvToNbG+pyZI6MYT1VgJ9L66O9uosUQ ifUvzZyD2WRj3/2dd+8oqwtsAqE4pvLLBH8pNwJBgrKNE2ZyKPC0 X-Google-Smtp-Source: AA6agR6rtwGrN13JdnFVqdCGupGwOwB1Ri6WGrs0P5UtDmSzjR35XaI9+2XhCSE02b9/TL+n4qCH+D7uZPHh/PnXMmw= X-Received: by 2002:a81:6d85:0:b0:339:ace2:f30b with SMTP id i127-20020a816d85000000b00339ace2f30bmr11838828ywc.328.1661826612415; Mon, 29 Aug 2022 19:30:12 -0700 (PDT) MIME-Version: 1.0 References: <20220827124810.11616-1-pali@kernel.org> In-Reply-To: <20220827124810.11616-1-pali@kernel.org> From: Simon Glass Date: Mon, 29 Aug 2022 20:30:00 -0600 Message-ID: Subject: Re: [PATCH] bootm: Fix upper bound of FDT overlap checks To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Tero Kristo , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.6 at phobos.denx.de X-Virus-Status: Clean On Sat, 27 Aug 2022 at 06:48, Pali Roh=C3=A1r wrote: > > FTD blob can be put immediately after the OS image. > So use strict inequality for start address check. > > Fixes: fbde7589ce30 ("common: bootm: add checks to verify if ramdisk / fd= timage overlaps OS image") > Signed-off-by: Pali Roh=C3=A1r > --- > boot/bootm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Simon Glass