From nobody Fri Jun 21 16:44:58 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W5NWW1xFFz5Nxpq for ; Fri, 21 Jun 2024 16:45:11 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W5NWW03M9z45VC for ; Fri, 21 Jun 2024 16:45:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-707040e3018so1567152a12.1 for ; Fri, 21 Jun 2024 09:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1718988309; x=1719593109; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/zsVRZy1jteH67UvDl2jvhzCa1pr5Qg4F4IV93Pgbug=; b=zNW8mZm1TRRHOTELEyN/aD19XtXO/pCu+/ng5IkGzrYorqvs9qTcBf3LHjcxov6IZs rIkyQ7zjpIOLCyA9td71/V2BF3737O/OidprwnRcqxqi6+0cSz3oWvJy6VXutfc1fDUD lOGjcO8KkKDp7d/jxepOzIIPAjU+xVEqrVpEU/bATx/Lnk+www3FQokDjhXefmflEJP+ OicPpl0TW456DI1eF0bahFtN6y54IPB62hjEgJLBLMFoJDogTt/HfQOMIKYfua9noGcL QeBxvcGpjf2AK1r0tegMIYy6hhgvaPVRFdiI9AysljuwkIjaE+hOhUk9qr5GTgmBZsA8 F0dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718988309; x=1719593109; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/zsVRZy1jteH67UvDl2jvhzCa1pr5Qg4F4IV93Pgbug=; b=R+3Zl2EieJ5V3ACHVK1zqLgUDTH6dmNCMdh5Aowf5gvMaxPI7Fs74gL0xgB85cSTvX OTAcwDk2EmpLwjij8jbFTvZjXsnXcyx6iAbjwSSuOEtZQox8PsfNPPx//LMFaX0cWojW m0Xl6+baVw7qWkAtTar5U1WGGlcBVdaH68RMEpzTT/V489R6amNlh56RFM7kaekDtfRo 9g7cgYdnefG62OqF2h3f0ITVSVg8VHErnPuSaEj648Hx+xNjDw6HZx1sKPsuw1OD+J8p fOmG1+5KSEpdd7b2l3QqD38TUv8Fqo9CgM176c+zX6I2pS8fSeH+mYzGK4sieC51lKvl oNeQ== X-Gm-Message-State: AOJu0YyYVpXhiRQ20pqPH+td4U1ESRj1oM44wzDpTJb9/B0lTowh1BJO Oj1pzkVtVkYb8Y5UTVABbx5TJly9ajgSurIP80Vdve0S+SxYuXEAu0a5EiiYoHW0HLZj+D/kzoo HOm4/Mm5A5biL6EqdlWD+ntk2eiaH7SpW4/tuuXV8c2hdORgh8dqTlA== X-Google-Smtp-Source: AGHT+IF2DLDgp9Fknv40M3Twb/WsjbE9ucLZomamgsO6RFsDLdXelZQUXVc4cm79edO1EAMa7+q5CSzrcuAxEP2QU7w= X-Received: by 2002:a17:90a:fc83:b0:2c2:1d7a:1e10 with SMTP id 98e67ed59e1d1-2c7b5afc174mr8955994a91.15.1718988309246; Fri, 21 Jun 2024 09:45:09 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Fri, 21 Jun 2024 10:44:58 -0600 Message-ID: Subject: Re: pax(1) looping infinitely To: Ganael Laplanche Cc: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008bceea061b692764" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4W5NWW03M9z45VC --0000000000008bceea061b692764 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Fixed. commit 681fd2bed8eaba88693867ba928a1c03a5b152cc (HEAD -> main) Author: Ganael Laplanche Date: Fri Jun 21 10:39:09 2024 -0600 pax: Terminate loop for empty directory names ... Wrote the commit message and had to guess at the right email to use. But it looked like bz and the mail here were the same. In the future, simple patches like this might work better as a github pull request, though, since that would resolve all that ambiguity. Warner On Fri, Jun 21, 2024 at 4:51=E2=80=AFAM Ganael Laplanche < ganael.laplanche@martymac.org> wrote: > Hello, > > Our pax(1) implementation has a small bug triggered when it is fed with > a directory containing a trailing slash. > > Could a src committer have a look at: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277060 > > ? > > I've submitted a small patch that fixes the problem. > > Thanks! > > Cheers, > > -- > Ganael LAPLANCHE > http://www.martymac.org | http://contribs.martymac.org > FreeBSD: martymac , http://www.FreeBSD.org > > --0000000000008bceea061b692764 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Fixed.

commit 681fd2bed8eaba88693867ba9= 28a1c03a5b152cc (HEAD -> main)
Author: Ganael Laplanche <ganael.laplanche@martymac.org= >
Date: =C2=A0 Fri Jun 21 10:39:09 2024 -0600

=C2=A0 =C2=A0 pa= x: Terminate loop for empty directory names
...
Wrote the commit message and had to guess at the right email to= use. But it looked like bz and the mail here were the same.

=
In the future, simple patches like this might work better as a g= ithub pull request, though, since that would resolve all that ambiguity.

Warner


On Fri, Jun 21, 2024 at 4= :51=E2=80=AFAM Ganael Laplanche <ganael.laplanche@martymac.org> wrote:
Hello,

Our pax(1) implementation has a small bug triggered when it is fed with a directory containing a trailing slash.

Could a src committer have a look at:

https://bugs.freebsd.org/bugzilla/show_bu= g.cgi?id=3D277060

?

I've submitted a small patch that fixes the problem.

Thanks!

Cheers,

--
Ganael LAPLANCHE <ganael.laplanche@martymac.org>
ht= tp://www.martymac.org | http://contribs.martymac.org
FreeBSD: martymac <martymac@FreeBSD.org>, http://www.FreeBSD.org

--0000000000008bceea061b692764--