public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libtirpc] f44: Updated to the latest upstream RC release: libtirpc-1-3-9-rc1
@ 2026-11-28 19:26 Steve Dickson
  0 siblings, 0 replies; only message in thread
From: Steve Dickson @ 2026-11-28 19:26 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libtirpc
            Branch : f44
            Commit : f60ee09d08929ba49504020daf030e179f58f1f7
            Author : Steve Dickson <steved@redhat.com>
            Date   : 2026-11-28T14:12:21-05:00
            Stats  : +31/-56 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/libtirpc/c/f60ee09d08929ba49504020daf030e179f58f1f7?branch=f44

            Log:
            Updated to the latest upstream RC release: libtirpc-1-3-9-rc1

Signed-off-by: Steve Dickson <steved@redhat.com>

---
diff --git a/libtirpc.1.3.8-rc1.patch b/libtirpc.1.3.8-rc1.patch
deleted file mode 100644
index cf0ec30..0000000
--- a/libtirpc.1.3.8-rc1.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff --git a/src/libtirpc.map b/src/libtirpc.map
-index 479b4ff..0d0f2f4 100644
---- a/src/libtirpc.map
-+++ b/src/libtirpc.map
-@@ -295,6 +295,11 @@ TIRPC_0.3.3 {
-     svc_max_pollfd;
- } TIRPC_0.3.2;
- 
-+TIRPC_1.3.7 {
-+    authdes_getucred;
-+    rpc_gss_getcred;
-+} TIRPC_0.3.3;
-+
- TIRPC_PRIVATE {
-   global:
-     __libc_clntudp_bufcreate;
-diff --git a/src/libtirpc.map.in b/src/libtirpc.map.in
-index 6cf563b..6c0b9b2 100644
---- a/src/libtirpc.map.in
-+++ b/src/libtirpc.map.in
-@@ -295,6 +295,11 @@ TIRPC_0.3.3 {
-     svc_max_pollfd;
- } TIRPC_0.3.2;
- 
-+TIRPC_1.3.7 {
-+    authdes_getucred;
-+    rpc_gss_getcred;
-+} TIRPC_0.3.3;
-+
- TIRPC_PRIVATE {
-   global:
-     __libc_clntudp_bufcreate;
-diff --git a/src/svc_auth_gss.c b/src/svc_auth_gss.c
-index de2993f..dd7db56 100644
---- a/src/svc_auth_gss.c
-+++ b/src/svc_auth_gss.c
-@@ -1117,7 +1117,7 @@ rpc_gss_get_principal_name(rpc_gss_principal_t *principal, char *mechanism,
- {
- 	OM_uint32 maj_stat, min_stat;
- 	rpc_gss_principal_t result;
--	size_t nodelen, secdomlen;
-+	size_t nodelen, secdomlen, alloclen;
- 	gss_name_t name, mechname;
- 	gss_buffer_desc namebuf;
- 	rpc_gss_OID oid;
-@@ -1135,7 +1135,8 @@ rpc_gss_get_principal_name(rpc_gss_principal_t *principal, char *mechanism,
- 	if (secdomain != NULL)
- 		secdomlen = strlen(secdomain) + 1;
- 	namebuf.length = strlen(user_name) + nodelen + secdomlen;
--	namebuf.value = calloc(1, namebuf.length);
-+	alloclen = namebuf.length + 1; /* include terminating NULL for C-string ops */
-+	namebuf.value = calloc(1, alloclen);
- 	if (namebuf.value == NULL)
- 		return FALSE;
- 	(void)strcpy(namebuf.value, user_name);

diff --git a/libtirpc.1.3.9-rc1.patch b/libtirpc.1.3.9-rc1.patch
new file mode 100644
index 0000000..a4c462b
--- /dev/null
+++ b/libtirpc.1.3.9-rc1.patch
@@ -0,0 +1,25 @@
+commit 7f44306728d3e7a81f1f4a1029d2a672df5798ed
+Author: Olga Kornievskaia <okorniev@redhat.com>
+Date:   Fri Nov 27 13:34:47 2026 -0500
+
+    libtirpc: add missing boundary restriction to xdr_rpc_gss_unwrap_data
+    
+    Add a boundary restriction to the xdr_rpc_gss_buf() call for the RPCSEC_GSS_SVC_PRIVACY case.
+    
+    Fixes: 65d27459fe56 ("libtirpc: Bound maxsize in xdr_rpc_gss_unwrap_data() decode calls"
+    Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
+    Signed-off-by: Steve Dickson <steved@redhat.com>
+
+diff --git a/src/authgss_prot.c b/src/authgss_prot.c
+index c7de1fd..620b294 100644
+--- a/src/authgss_prot.c
++++ b/src/authgss_prot.c
+@@ -254,7 +254,7 @@ xdr_rpc_gss_unwrap_data(XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr,
+ 	}
+ 	else if (svc == RPCSEC_GSS_SVC_PRIVACY) {
+ 		/* Decode databody_priv. */
+-		if (!xdr_rpc_gss_buf(xdrs, &wrapbuf, (u_int)-1)) {
++		if (!xdr_rpc_gss_buf(xdrs, &wrapbuf, RPCSEC_GSS_MAX_UNWRAP)) {
+ 			LIBTIRPC_DEBUG(1, ("xdr_rpc_gss_unwrap_data: decode databody_priv failed"));
+ 			return (FALSE);
+ 		}

diff --git a/libtirpc.spec b/libtirpc.spec
index cd7b633..a6d5705 100644
--- a/libtirpc.spec
+++ b/libtirpc.spec
@@ -2,12 +2,14 @@
 
 Name:			libtirpc
 Version:		1.3.8
-Release:		0%{?dist}
+Release:		0.rc1%{?dist}
 Summary:		Transport Independent RPC Library
 License:		SISSL AND BSD-3-Clause
 URL:  			http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary
 Source0:		http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
 
+Patch001: libtirpc.1.3.9-rc1.patch
+
 BuildRequires:		automake, autoconf, libtool, pkgconfig
 BuildRequires:		krb5-devel
 BuildRequires:		gcc
@@ -114,6 +116,9 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
 %{_mandir}/*/*
 
 %changelog
+* Fri Nov 27 2026 Steve Dickson <steved@redhat.com> - 1.3.8-0.rc1
+- Updated to the latest upstream RC release: libtirpc-1-3-9-rc1
+
 * Mon Sep 14 2026 Steve Dickson <steved@redhat.com> - 1.3.8-0
 - Updated to the latest upstream release: libtirpc-1-3-8 (bz 2532721)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-28 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28 19:26 [rpms/libtirpc] f44: Updated to the latest upstream RC release: libtirpc-1-3-9-rc1 Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox