From mboxrd@z Thu Jan  1 00:00:00 1970
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] rpcbind: Update to version 1.2.7
Date: Sun, 19 Jan 2025 23:08:42 +0100
Message-ID: <20250119220844.3292084-3-adolf.belka@ipfire.org>
In-Reply-To: <20250119220844.3292084-1-adolf.belka@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7398034650965531980=="
List-Id: <development.lists.ipfire.org>

--===============7398034650965531980==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

- Update from versio0n 1.2.6 to 1.2.7
- Update of rootfile
- Changelog
    1.2.7
	rpcinfo: try connecting using abstract address.
	    rpcinfo doesn't use library calls to set up the address for rpcbind.  So
	    to get to it try the new abstract address, we need to explicitly
	    teach it how.
	Listen on an AF_UNIX abstract address if supported.
	    As RPC is primarily a network service it is best, on Linux, to use
	    network namespaces to isolate it.  However contacting rpcbind via an
	    AF_UNIX socket allows escape from the network namespace.
	    If clients could use an abstract address, that would ensure clients
	    contact an rpcbind in the same network namespace.
	    systemd can pass in a listening abstract socket by providing an '@'
	    prefix.  However with libtirpc 1.3.3 or earlier attempting this will
	    fail as the library mistakenly determines that the socket is not bound.
	    This generates unsightly error messages.
	    So it is best not to request the abstract address when it is not likely
	    to work.
	    A patch to fix this also proposes adding a define for
	    _PATH_RPCBINDSOCK_ABSTRACT to the header files.  We can check for this
	    and only include the new ListenStream when that define is present.
	autotools/systemd: call rpcbind with -w only on enabled warm starts
	    If rpcbind is configured with --disable-warmstarts it responds on -w
	    with its usage string. This is not helpful in a systemd service, so pass
	    -w conditionally.
	rpcbind: fix double free in init_transport
	    $ rpcbind -h 127.0.0.1
	    free(): double free detected in tcache 2
	    Aborted

Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 lfs/rpcbind | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lfs/rpcbind b/lfs/rpcbind
index 31708192c..a707d9c05 100644
--- a/lfs/rpcbind
+++ b/lfs/rpcbind
@@ -1,7 +1,7 @@
 ############################################################################=
###
 #                                                                           =
  #
 # IPFire.org - A linux based firewall                                       =
  #
-# Copyright (C) 2007-2023  IPFire Team  <info(a)ipfire.org>                 =
    #
+# Copyright (C) 2007-2025  IPFire Team  <info(a)ipfire.org>                 =
    #
 #                                                                           =
  #
 # This program is free software: you can redistribute it and/or modify      =
  #
 # it under the terms of the GNU General Public License as published by      =
  #
@@ -26,7 +26,7 @@ include Config
=20
 SUMMARY    =3D Transport independent RPC portmapper
=20
-VER        =3D 1.2.6
+VER        =3D 1.2.7
=20
 THISAPP    =3D rpcbind-$(VER)
 DL_FILE    =3D $(THISAPP).tar.bz2
@@ -34,7 +34,7 @@ DL_FROM    =3D $(URL_IPFIRE)
 DIR_APP    =3D $(DIR_SRC)/$(THISAPP)
 TARGET     =3D $(DIR_INFO)/$(THISAPP)
 PROG       =3D rpcbind
-PAK_VER    =3D 7
+PAK_VER    =3D 8
=20
 DEPS       =3D
=20
@@ -48,7 +48,7 @@ objects =3D $(DL_FILE)
=20
 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE)
=20
-$(DL_FILE)_BLAKE2 =3D bb0e9f81e4747f8a732c9e25af561e79f2b6cd1c1955db58683387=
1901b6da73f4b7ef32149a81b75daa81359b9c0554726670460b28857042dd66a2f861cac2
+$(DL_FILE)_BLAKE2 =3D f1e79b304ce5fe06c1c256d3512d999daffca782d956440f612b8a=
957ad7ddb35356b47aa4f4105d5b24d820daab32ec3a0f4a3b8ac76bb7adf5c3ed22d2ef01
=20
 install : $(TARGET)
=20
--=20
2.48.1


--===============7398034650965531980==--