Import from AlmaLinux stable repository
This commit is contained in:
parent
bd95e8a333
commit
ae72adc9ad
25
SOURCES/nfs4-acl-tools-0.4.2-acl-ptr-null.patch
Normal file
25
SOURCES/nfs4-acl-tools-0.4.2-acl-ptr-null.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
commit ea0d882fa8c226ac27be4651f9550aa17d75462a
|
||||||
|
Author: Steve Dickson <steved@redhat.com>
|
||||||
|
Date: Mon Nov 21 14:07:58 2022 -0500
|
||||||
|
|
||||||
|
nfs4_getfacl: Initialize acl pointer to NULL
|
||||||
|
|
||||||
|
nfs4_getfacl.c: scope_hint: In function 'print_acl_from_path'
|
||||||
|
nfs4_getfacl.c:168:17: warning[-Wmaybe-uninitialized]:
|
||||||
|
'acl' may be used uninitialized in this function
|
||||||
|
|
||||||
|
Signed-off-by: Steve Dickson <steved@redhat.com>
|
||||||
|
|
||||||
|
diff --git a/nfs4_getfacl/nfs4_getfacl.c b/nfs4_getfacl/nfs4_getfacl.c
|
||||||
|
index 954cf7e..ddb3005 100644
|
||||||
|
--- a/nfs4_getfacl/nfs4_getfacl.c
|
||||||
|
+++ b/nfs4_getfacl/nfs4_getfacl.c
|
||||||
|
@@ -148,7 +148,7 @@ out:
|
||||||
|
|
||||||
|
static void print_acl_from_path(const char *fpath, enum acl_type type)
|
||||||
|
{
|
||||||
|
- struct nfs4_acl *acl;
|
||||||
|
+ struct nfs4_acl *acl = NULL;
|
||||||
|
|
||||||
|
switch (type) {
|
||||||
|
case ACL_TYPE_ACL:
|
@ -1,6 +1,6 @@
|
|||||||
Name: nfs4-acl-tools
|
Name: nfs4-acl-tools
|
||||||
Version: 0.4.2
|
Version: 0.4.2
|
||||||
Release: 0%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: The nfs4 ACL tools
|
Summary: The nfs4 ACL tools
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://git.linux-nfs.org/?p=bfields/nfs4-acl-tools.git;a=summary
|
URL: http://git.linux-nfs.org/?p=bfields/nfs4-acl-tools.git;a=summary
|
||||||
@ -10,6 +10,8 @@ BuildRequires: make
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
|
|
||||||
|
Patch01: nfs4-acl-tools-0.4.2-acl-ptr-null.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains commandline ACL utilities for the Linux
|
This package contains commandline ACL utilities for the Linux
|
||||||
NFSv4 client.
|
NFSv4 client.
|
||||||
@ -37,6 +39,15 @@ make DESTDIR=%{buildroot} install
|
|||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 21 2024 Pavel Reichl <preichl@redhat.com> - 0.4.2-3
|
||||||
|
- Prepare gating tests (rhel-26256)
|
||||||
|
|
||||||
|
* Tue Jun 6 2023 Steve Dickson <steved@redhat.com> - 0.4.2-2
|
||||||
|
- Rebuild: nfs4_getfacl: Initialize acl pointer to NULL (bz 2144829)
|
||||||
|
|
||||||
|
* Mon Feb 13 2023 Steve Dickson <steved@redhat.com> - 0.4.2-1
|
||||||
|
- nfs4_getfacl: Initialize acl pointer to NULL (bz 2144829)
|
||||||
|
|
||||||
* Tue Nov 15 2022 Steve Dickson <steved@redhat.com> - 0.4.2-0
|
* Tue Nov 15 2022 Steve Dickson <steved@redhat.com> - 0.4.2-0
|
||||||
- Updated to the latest upstream release: nfs4-acl-tools-0.4.2 (bz 2059052)
|
- Updated to the latest upstream release: nfs4-acl-tools-0.4.2 (bz 2059052)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user