From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id ED90E5A026F for ; Wed, 28 Jun 2023 07:11:21 +0200 (CEST) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4QrV6Z3lwRz4wvt; Wed, 28 Jun 2023 15:11:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1687929078; bh=KngTh/QxaEVGZZj3fQCf+nEqq+ubIO5abK3CSW+djSA=; h=From:To:Cc:Subject:Date:From; b=NSPxf+8Lw6z84yOOYIeg/nLGb230TPtM3Lw0SzGyNr4CaMMPtKB0PL1xTv+7J1gIX RLch+ptV+UKKpAwhsxalYoExjICqhKR5rq9fU24EwOGvjCq/3oSEMhaJ+Gs8KD9imP 95lEHqnyh6CUthFDcR1uiGxkGXNShw/9qZcsTyBo= From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/2] Fix bugs in validation of interface names Date: Wed, 28 Jun 2023 15:11:13 +1000 Message-ID: <20230628051115.3692777-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.41.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 5HKKOXNM4PXWSS2ACEDSQ4ZUZB5VTU3R X-Message-ID-Hash: 5HKKOXNM4PXWSS2ACEDSQ4ZUZB5VTU3R X-MailFrom: dgibson@gandalf.ozlabs.org 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: David Gibson 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: 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(-) -- 2.41.0