From 5ede6b51b2f1f58d922a385f5d38c3cfaa3a91cb Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 30 2019 10:44:53 +0000 Subject: import authd-1.4.4-5.el8_0.1 --- diff --git a/SOURCES/authd-covscan.patch b/SOURCES/authd-covscan.patch index 4211af8..66b7710 100644 --- a/SOURCES/authd-covscan.patch +++ b/SOURCES/authd-covscan.patch @@ -2,14 +2,6 @@ diff --git a/authd.c b/authd.c index a2072de..07c6f0d 100644 --- a/authd.c +++ b/authd.c -@@ -240,7 +240,6 @@ static void create_opt(int argc, char *argv[]) { - opt.passwd = vstrdup(DFL_PASSWD); - if ((opt.mapped = calloc(HEX_LEN_MAX + sizeof '\0', sizeof(char))) == NULL) - handle_error(NULL); -- memset(opt.mapped, '0', HEX_LEN_MAX); - opt.multiquery = 1; - opt.timeout = UINT_MAX; - while ((c = getopt_long(argc, argv, SHORT_OPTS, LONG_OPTS, &i)) != -1) { @@ -539,7 +538,9 @@ static char *get_created_tok_addr(const char *peer_addr_hex) { } // hex addr must have even number of digits @@ -41,3 +33,4 @@ index a2072de..07c6f0d 100644 if (!S_ISREG(file.st_mode)) return false; // no dirs, devs, etc. if (file.st_mode & (S_IROTH | S_IWOTH)) return false; // no ------rw- + diff --git a/SPECS/authd.spec b/SPECS/authd.spec index 7c0d2ab..34849a4 100644 --- a/SPECS/authd.spec +++ b/SPECS/authd.spec @@ -3,7 +3,7 @@ Summary: A RFC 1413 ident protocol daemon Name: authd Version: 1.4.4 -Release: 5%{?dist} +Release: 5%{?dist}.1 License: GPLv2+ URL: https://github.com/InfrastructureServices/authd Obsoletes: pidentd < 3.2 @@ -73,6 +73,9 @@ chmod o-rw %{_sysconfdir}/ident.key %{_unitdir}/* %changelog +* Wed Jul 17 2019 Pavel Zhukov - 1.4.4-5.1 +- Resolves: #1722492 - Partially revert covscan fix + * Mon Feb 18 2019 Pavel Zhukov - 1.4.4-5 - Related: #1642073 - Properly pass hardened ld flags - Fix covscan reported errors