public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattias Ellert <mattias.ellert@physics.uu.se>
To: git-commits@fedoraproject.org
Subject: [rpms/globus-gss-assist] epel10: Fix typos and function documentation
Date: Mon, 02 Nov 2026 23:54:15 GMT	[thread overview]
Message-ID: <179366365577.1.287652288408916920.rpms-globus-gss-assist-460ffb869b44@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-02 23:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179366365577.1.287652288408916920.rpms-globus-gss-assist-460ffb869b44@fedoraproject.org \
    --to=mattias.ellert@physics.uu.se \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox