Compare commits

...

No commits in common. "c8s" and "imports/c8-beta/authd-1.4.4-5.el8" have entirely different histories.

7 changed files with 10 additions and 7 deletions

1
.authd.metadata Normal file
View File

@ -0,0 +1 @@
1a508618ce847ffd0b00a4341cbcb8b310f845e9 SOURCES/authd-1.4.4.tar.gz

1
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/authd-1.4.4.tar.gz SOURCES/authd-1.4.4.tar.gz
/authd-1.4.4.tar.gz

View File

@ -2,6 +2,14 @@ diff --git a/authd.c b/authd.c
index a2072de..07c6f0d 100644 index a2072de..07c6f0d 100644
--- a/authd.c --- a/authd.c
+++ b/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) { @@ -539,7 +538,9 @@ static char *get_created_tok_addr(const char *peer_addr_hex) {
} }
// hex addr must have even number of digits // hex addr must have even number of digits
@ -33,4 +41,3 @@ index a2072de..07c6f0d 100644
if (!S_ISREG(file.st_mode)) return false; // no dirs, devs, etc. if (!S_ISREG(file.st_mode)) return false; // no dirs, devs, etc.
if (file.st_mode & (S_IROTH | S_IWOTH)) return false; // no ------rw- if (file.st_mode & (S_IROTH | S_IWOTH)) return false; // no ------rw-

View File

@ -3,7 +3,7 @@
Summary: A RFC 1413 ident protocol daemon Summary: A RFC 1413 ident protocol daemon
Name: authd Name: authd
Version: 1.4.4 Version: 1.4.4
Release: 5%{?dist}.1 Release: 5%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://github.com/InfrastructureServices/authd URL: https://github.com/InfrastructureServices/authd
Obsoletes: pidentd < 3.2 Obsoletes: pidentd < 3.2
@ -73,9 +73,6 @@ chmod o-rw %{_sysconfdir}/ident.key
%{_unitdir}/* %{_unitdir}/*
%changelog %changelog
* Wed Jul 17 2019 Pavel Zhukov <pzhukov@redhat.com> - 1.4.4-5.1
- Resolves: #1722492 - Partially revert covscan fix
* Mon Feb 18 2019 Pavel Zhukov <pzhukov@redhat.com> - 1.4.4-5 * Mon Feb 18 2019 Pavel Zhukov <pzhukov@redhat.com> - 1.4.4-5
- Related: #1642073 - Properly pass hardened ld flags - Related: #1642073 - Properly pass hardened ld flags
- Fix covscan reported errors - Fix covscan reported errors

View File

@ -1 +0,0 @@
SHA512 (authd-1.4.4.tar.gz) = ef447006136b64b771dc0515dff09c729b0618c5652396ddfc9af5ed89dd71a3449ddbc70ffb9df317a84a0a7f8c9f080b044885bd6e6814a91d867d48414013