public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/globus-gss-assist] epel10: Fix typos and function documentation
@ 2026-11-02 23:54 Mattias Ellert
0 siblings, 0 replies; only message in thread
From: Mattias Ellert @ 2026-11-02 23:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/globus-gss-assist
Branch : epel10
Commit : 460ffb869b4491ecc2ccf7081df60d96db6907f0
Author : Mattias Ellert <mattias.ellert@physics.uu.se>
Date : 2026-11-02T14:21:40+01:00
Stats : +74/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/globus-gss-assist/c/460ffb869b4491ecc2ccf7081df60d96db6907f0?branch=epel10
Log:
Fix typos and function documentation
---
diff --git a/0003-Fix-typos-and-function-docs.patch b/0003-Fix-typos-and-function-docs.patch
new file mode 100644
index 0000000..9a989d9
--- /dev/null
+++ b/0003-Fix-typos-and-function-docs.patch
@@ -0,0 +1,68 @@
+diff --git a/gsi/gss_assist/source/accept.c b/gsi/gss_assist/source/accept.c
+index 3f3fb387d..f141900be 100644
+--- a/gsi/gss_assist/source/accept.c
++++ b/gsi/gss_assist/source/accept.c
+@@ -36,7 +36,7 @@
+ *
+ * Initialize a GSSAPI security connection. Used by the server.
+ * The context_handle is returned, and there is one for each
+- * connection. This routine will take cake of the looping
++ * connection. This routine will take care of the looping
+ * and token processing, using the supplied get_token and
+ * send_token routines.
+ *
+diff --git a/gsi/gss_assist/source/export_sec_context.c b/gsi/gss_assist/source/export_sec_context.c
+index 904bf51fc..2dda5c98b 100644
+--- a/gsi/gss_assist/source/export_sec_context.c
++++ b/gsi/gss_assist/source/export_sec_context.c
+@@ -158,7 +158,7 @@ globus_gss_assist_export_sec_context(
+ {
+ globus_gss_assist_display_status(
+ fperr,
+- _GASL("gss_assist_import_sec_context failure:"),
++ _GASL("gss_assist_export_sec_context failure:"),
+ major_status,
+ *minor_status,
+ *token_status);
+diff --git a/gsi/gss_assist/source/globus_gss_assist.h b/gsi/gss_assist/source/globus_gss_assist.h
+index 206c249b2..bff3d84cd 100644
+--- a/gsi/gss_assist/source/globus_gss_assist.h
++++ b/gsi/gss_assist/source/globus_gss_assist.h
+@@ -352,7 +352,7 @@ globus_gss_assist_will_handle_restrictions(
+
+
+ /*
+- * globus_gss_assist_import_sec_context - read a security context
++ * globus_gss_assist_export_sec_context - export a security context
+ */
+ extern OM_uint32
+ globus_gss_assist_export_sec_context(
+diff --git a/gsi/gss_assist/source/init.c b/gsi/gss_assist/source/init.c
+index abce384b3..48d36dfa0 100644
+--- a/gsi/gss_assist/source/init.c
++++ b/gsi/gss_assist/source/init.c
+@@ -30,7 +30,7 @@ extern gss_OID gss_nt_service_name;
+ * @ingroup globus_gss_assist_context
+ * Initialize a GSSAPI security connection. Used by the client.
+ * The context_handle is returned, and there is one for each
+- * connection. This routine will take cake of the looping
++ * connection. This routine will take care of the looping
+ * and token processing, using the supplied get_token and
+ * send_token routines.
+ *
+diff --git a/gsi/gss_assist/source/tokens_f.c b/gsi/gss_assist/source/tokens_f.c
+index 5aac99dd9..50895e9ab 100644
+--- a/gsi/gss_assist/source/tokens_f.c
++++ b/gsi/gss_assist/source/tokens_f.c
+@@ -119,6 +119,11 @@ globus_gss_assist_token_get_fd(
+ */
+ dsize = ( (((unsigned int) (int_buf[0] & 0x7f)) << 8)
+ | ((unsigned int) int_buf[1]) ) - 3;
++ if (dsize < 0 || dsize > (1 << 24))
++ {
++ return_value = GLOBUS_GSS_ASSIST_TOKEN_ERR_BAD_SIZE;
++ goto exit;
++ }
+ }
+ else
+ {
diff --git a/globus-gss-assist.spec b/globus-gss-assist.spec
index 9506c28..1b98721 100644
--- a/globus-gss-assist.spec
+++ b/globus-gss-assist.spec
@@ -1,7 +1,7 @@
Name: globus-gss-assist
%global _name %(tr - _ <<< %{name})
Version: 12.7
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Grid Community Toolkit - GSSAPI Assist library
License: Apache-2.0
@@ -10,6 +10,7 @@ Source: https://repo.gridcf.org/gct6/sources/%{_name}-%{version}.tar.gz
Source8: README
Patch0: 0001-Untabify-and-remove-trailing-white-space.patch
Patch1: 0002-Fix-compiler-and-doxygen-warnings.patch
+Patch2: 0003-Fix-typos-and-function-docs.patch
BuildRequires: make
BuildRequires: gcc
@@ -96,6 +97,7 @@ GSSAPI Assist library Documentation Files
%setup -q -n %{_name}-%{version}
%patch -P0 -p4
%patch -P1 -p4
+%patch -P2 -p4
%build
# Reduce overlinking
@@ -156,6 +158,9 @@ rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE
%license GLOBUS_LICENSE
%changelog
+* Mon Nov 02 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 12.7-13
+- Fix typos and function documentation
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 12.7-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 23:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 23:54 [rpms/globus-gss-assist] epel10: Fix typos and function documentation Mattias Ellert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox