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 DAC4E5A0293 for ; Tue, 23 May 2023 04:25:51 +0200 (CEST) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4QQJ896cc8z4x49; Tue, 23 May 2023 12:25:45 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1684808745; bh=2drvJKsIHMtRC8Z8emcx/YKLZ8rOUUhZE6GWcAPXpOU=; h=From:To:Cc:Subject:Date:From; b=JDhwpdol1huXw0VLVZ8d1AYO6P+GGrrV5iykvnUt3UugvZjDF3mtLeO9XlRHN+efe z8vNjv86pOIex9zpvrNalrXTGwj/oKFgjcEtIY5pkM84M+RWoBu/ThzawNjRSpRqPp 3xi4xRJ/HV7tsVXM04Gp7pMSPuxAOITdSjR3z/Ks= From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/2] Fixes for nstool Date: Tue, 23 May 2023 12:25:41 +1000 Message-Id: <20230523022543.623950-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.40.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: HECB4HW5JC6FA5UW3W4PZEMGAAATFMG4 X-Message-ID-Hash: HECB4HW5JC6FA5UW3W4PZEMGAAATFMG4 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: This fixes a couple of bugs I found in nstool. I discovered these during the Avocado work, but they are bugs independent of that. David Gibson (2): test/nstool: Provide useful error if given a path that's too long test/nstool: Fix fd leak in accept() loop test/nstool.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) -- 2.40.1