fix syntax error

This commit is contained in:
fly_fzc 2025-01-23 11:10:07 +08:00
parent 6251422c64
commit 24c50b5063
3 changed files with 9 additions and 3 deletions

View File

@ -106,7 +106,7 @@ index 935b28a7..0364d436 100644
+#define CREDENTIAL_INIT { \
+ .helpers = STRING_LIST_INIT_DUP, \
+ .sanitize_prompt = 1, \
+};
+}
/* Initialize a credential structure, setting all fields to empty. */
void credential_init(struct credential *);

View File

@ -126,7 +126,7 @@ index 0364d436..2c0b39a9 100644
.helpers = STRING_LIST_INIT_DUP, \
.sanitize_prompt = 1, \
+ .protect_protocol = 1, \
};
}
/* Initialize a credential structure, setting all fields to empty. */
diff --git a/t/t0300-credentials.sh b/t/t0300-credentials.sh

View File

@ -1,7 +1,7 @@
%global gitexecdir %{_libexecdir}/git-core
Name: git
Version: 2.27.0
Release: 22
Release: 23
Summary: A popular and widely used Version Control System
License: GPLv2+ or LGPLv2.1
URL: https://git-scm.com/
@ -329,6 +329,12 @@ make %{?_smp_mflags} test
%{_mandir}/man7/git*.7.*
%changelog
* Thu Jan 23 2025 fuanan <fuanan3@h-partners.com> - 2.27.0-23
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix syntax error
* Fri Jan 17 2025 fuanan <fuanan3@h-partners.com> - 2.27.0-22
- Type:CVE
- ID:CVE-2024-52005