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 77315C433EF for ; Thu, 23 Jun 2022 18:32:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D5E46842DC; Thu, 23 Jun 2022 20:32:29 +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="ZP5CM55w"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0866C842F1; Thu, 23 Jun 2022 20:32:29 +0200 (CEST) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 B5BD9842AD for ; Thu, 23 Jun 2022 20:32:26 +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-qv1-xf35.google.com with SMTP id y14so907166qvs.10 for ; Thu, 23 Jun 2022 11:32:26 -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=nybnwJ2bR05xbltA5J3Uv3LkF0bTEN1kRs3urRkG4XA=; b=ZP5CM55wzm7o6uG/iuY2a61NF+2Nu0aibtq/YqnzIB4Z5IOePl+MwiVyB9fIV08OI8 eYaeSV4ZpqJy/D4jDZ/KbXZH9ujmzSgW/vK7zTZLA2qZ27dGfWVqy6oYGkiJ7vMwatd8 Onc96haI2+RGcmzWYueUIhTJtGutQdskb8CBs= 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=nybnwJ2bR05xbltA5J3Uv3LkF0bTEN1kRs3urRkG4XA=; b=xmekdPu8S6xAFhQrWUrrZEFa/9t5Il70rMaauqxl5dMnapEZrUQK4JdSqgQUEpeYBF 7Cfy0SdLq1zmvnAxSrRJTJ2U2O03pTos9tI29iLZIz+lsCf6VTstui4HbZxxuDp1Ckg6 DUln57XaFLSePYmP6a6ARjHX4d6fzRXNcrz1UKWHwEwsuIv2F337yyxbZ8TUXLdY/N4Z OTN/Jw/MGLVt4vNP2vnNInfFR97j21BgPs5YCxaRpYVTyFRXyk0Eb7RW5fdajTLxv/DO DFYgcNXLIZD/EPualtv21kwztIhU7/aTqS3P0hjV4g09Fg7NtNMzEaQVrzrxBVoYoAqv ZvJA== X-Gm-Message-State: AJIora/Aq+g0SehJZUswRjMh4hR96HRzZCzzuV1X1SQzld1rlMzwNoRs DoS75Wne1Di5Cj/1LvZYOlFzlA== X-Google-Smtp-Source: AGRyM1u2Jy5OhoxjUPlRKTayswMmEpxnhA01LaxQenpPvVnK0y3aFZaQ/+PNHrvBDmSbCXMphjbrsw== X-Received: by 2002:ac8:5d49:0:b0:316:fccc:9a8f with SMTP id g9-20020ac85d49000000b00316fccc9a8fmr6748235qtx.616.1656009145308; Thu, 23 Jun 2022 11:32:25 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id c24-20020ac853d8000000b003171a5dc474sm37553qtq.23.2022.06.23.11.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 11:32:24 -0700 (PDT) Date: Thu, 23 Jun 2022 14:32:22 -0400 From: Tom Rini To: Andrew Scull Cc: u-boot@lists.denx.de, sjg@chromium.org, xypron.glpk@gmx.de, jonbottarini@google.com, seanga2@gmail.com, Sean Anderson Subject: Re: [PATCH v3 01/13] serial: sandbox: Fix buffer underflow in puts Message-ID: <20220623183222.GH2484912@bill-the-cat> References: <20220530100013.3753780-1-ascull@google.com> <20220530100013.3753780-2-ascull@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GrxYcQEJulI5Lnog" Content-Disposition: inline In-Reply-To: <20220530100013.3753780-2-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.6 at phobos.denx.de X-Virus-Status: Clean --GrxYcQEJulI5Lnog Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 30, 2022 at 10:00:01AM +0000, Andrew Scull wrote: > Fix the buffer underflow that would occur if puts is called with length > of zero. >=20 > Fixes: efa51f2bd64 ("serial: sandbox: Implement puts") > Cc: Sean Anderson > Cc: Simon Glass > Reviewed-by: Sean Anderson For the series, applied to u-boot/next, thanks! --=20 Tom --GrxYcQEJulI5Lnog Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmK0sa0ACgkQFHw5/5Y0 tywnmgwAlJWJLjoZ17GvUtI1eccTzujKih7XPd15YVpL8PX/Xj6F86DC+c2UmRuH VSisKQp1ZTi1iUBsEUrz/29mgGFJKcv0xEt/AWFh8KmxbG2/wEXuZXhnZmeZI0lM xTprAG4ZR9kTF4YklOaJZq4xpwMEqRSu2jsuHzCHRRvQjmhEaC1ViTPuBnqB/LA/ 7+VMAx/U+4HQCFFr8ADbsGpzSDX1cw+ld/S7PUFkRNw1iFoZ2Rz4HOCBsTZLDDX7 dAOpQYZOzH9WsHhQrwRj5GjFQjFtEyn4kRtvdRz/cayqzX+gMj+m1DkIWB1Iyo/g P4eOfmCJwEOA3q21W4tMOa0q9PDZRqg+21ZXBHbBjhN191Cu5xIQuYPoL5Jiwc8Q 5BMqRmyU7+p+FUYtvK052sanBT9mC3MyegagkRZKG9WbDOHzlIlc3zFZ8WSBm52u EESyvC8MkbMNzaoSku1wnb8bEljzHhkgeFS6xnK5x60itoUcnzeawZAOHa1Txj+q xHqp14yo =iicc -----END PGP SIGNATURE----- --GrxYcQEJulI5Lnog--