From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id A12D45A026F for ; Wed, 28 Jun 2023 22:01:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687982491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HSlVTfa1qXwHP5L4IuioUgj+s6LuEvajGcbJQQDzSG8=; b=iADxI6hmZ9oy0fH1Vd41+qZ+oq1XkQZ6XqMy3hj646P/f6+GZ2CM1GgJNtRw1sQTzNe5D8 ZS3SE+oX4+NfNkD0cFd/cucAQl7ZQ1W0aD7D8Uy07vCRHQtl8RfxN0YSYE7AmtyBzmZCja X/ySx40y/aLEbnSuJRnbDoL4hr1ki64= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-148-EsIfdHfQM_SU7BCbzNwQZQ-1; Wed, 28 Jun 2023 16:01:28 -0400 X-MC-Unique: EsIfdHfQM_SU7BCbzNwQZQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3AB1E1C060C0; Wed, 28 Jun 2023 20:01:27 +0000 (UTC) Received: from elisabeth (unknown [10.39.208.43]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 63DE940C2063; Wed, 28 Jun 2023 20:01:24 +0000 (UTC) Date: Wed, 28 Jun 2023 22:01:19 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 0/2] Fix bugs in validation of interface names Message-ID: <20230628220119.57b22ada@elisabeth> In-Reply-To: <20230628051115.3692777-1-david@gibson.dropbear.id.au> References: <20230628051115.3692777-1-david@gibson.dropbear.id.au> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: VI7HH4SHIJY3CAWRC4V7KCJW7RQZTEEN X-Message-ID-Hash: VI7HH4SHIJY3CAWRC4V7KCJW7RQZTEEN X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, 28 Jun 2023 15:11:13 +1000 David Gibson wrote: > We have a number of off by one bugs when checking the lengths of > networking interface names. > > David Gibson (2): > conf: Fix size checking of -I interface name > conf: Correct length checking of interface names in conf_ports() > > conf.c | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) Both applied, thanks. -- Stefano