Ensure pwsize is initialized in chpass_util.c
This commit is contained in:
parent
5eb94ecfab
commit
255e769785
24
krb5-1.14-pwsize_initialize.patch
Normal file
24
krb5-1.14-pwsize_initialize.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From eb7aa0386f60496aabcb1f30893649bb6599d6d1 Mon Sep 17 00:00:00 2001
|
||||
From: Robbie Harwood <rharwood@redhat.com>
|
||||
Date: Thu, 22 Oct 2015 14:27:33 -0400
|
||||
Subject: [PATCH] Ensure pwsize is initialized
|
||||
|
||||
---
|
||||
src/lib/kadm5/chpass_util.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/lib/kadm5/chpass_util.c b/src/lib/kadm5/chpass_util.c
|
||||
index 408b0eb..02305be 100644
|
||||
--- a/src/lib/kadm5/chpass_util.c
|
||||
+++ b/src/lib/kadm5/chpass_util.c
|
||||
@@ -74,6 +74,7 @@ kadm5_ret_t _kadm5_chpass_principal_util(void *server_handle,
|
||||
if (ret_pw)
|
||||
*ret_pw = NULL;
|
||||
|
||||
+ pwsize = 0;
|
||||
if (new_pw != NULL) {
|
||||
new_password = new_pw;
|
||||
} else { /* read the password */
|
||||
--
|
||||
2.6.1
|
||||
|
@ -43,7 +43,7 @@
|
||||
Summary: The Kerberos network authentication system
|
||||
Name: krb5
|
||||
Version: 1.14
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
# - Maybe we should explode from the now-available-to-everybody tarball instead?
|
||||
# http://web.mit.edu/kerberos/dist/krb5/1.13/krb5-1.13.2-signed.tar
|
||||
# - The sources below are stored in a lookaside cache. Upload with
|
||||
@ -89,6 +89,7 @@ Patch134: krb5-1.11-kpasswdtest.patch
|
||||
Patch143: krb5-tests_use_libs_from_build.patch
|
||||
Patch146: krb5-1.14-no_system_krb5_conf.patch
|
||||
Patch148: krb5-disable_ofd_locks.patch
|
||||
Patch149: krb5-1.14-pwsize_initialize.patch
|
||||
|
||||
License: MIT
|
||||
URL: http://web.mit.edu/kerberos/www/
|
||||
@ -274,6 +275,7 @@ ln NOTICE LICENSE
|
||||
%patch143 -p1 -b .krb5-tests_use_libs_from_build
|
||||
%patch146 -p1 -b .no_system_krb5_conf
|
||||
%patch148 -p1 -b .disable_ofd_locks
|
||||
%patch149 -p1 -b .pwsize_initialize
|
||||
|
||||
# Take the execute bit off of documentation.
|
||||
chmod -x doc/krb5-protocol/*.txt doc/ccapi/*.html
|
||||
@ -889,6 +891,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 22 2015 Robbie Harwood <rharwood@redhat.com> - 1.14-beta1-5
|
||||
- Ensure pwsize is initialized in chpass_util.c
|
||||
|
||||
* Thu Oct 22 2015 Robbie Harwood <rharwood@redhat.com> - 1.14-beta1-4
|
||||
- Fix typo of crypto-policies file in previous version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user