import nmap-7.70-8.el8

This commit is contained in:
CentOS Sources 2022-08-25 16:14:06 +00:00 committed by Stepan Oksanichenko
parent 63e4a7af19
commit 5c257a5409
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/ncat/ncat_connect.c b/ncat/ncat_connect.c
index 0968601..447aeb1 100644
--- a/ncat/ncat_connect.c
+++ b/ncat/ncat_connect.c
@@ -353,7 +353,7 @@ static const char *sock_to_url(char *host_str, unsigned short port)
Snprintf(buf, sizeof(buf), "%s:%hu", host_str, port);
break;
case 2:
- Snprintf(buf, sizeof(buf), "[%s]:%hu]", host_str, port);
+ Snprintf(buf, sizeof(buf), "[%s]:%hu", host_str, port);
}
return buf;

View File

@ -13,7 +13,7 @@ Name: nmap
Epoch: 2
Version: 7.70
#global prerelease TEST5
Release: 7%{?dist}
Release: 8%{?dist}
# Uses combination of licenses based on GPL license, but with extra modification
# so it got its own license tag rhbz#1055861
License: Nmap
@ -40,6 +40,8 @@ Patch7: nmap-safe_fd_functions.patch
# https://github.com/nmap/nmap/pull/2247
Patch8: nmap_resolve_config.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2120294
Patch9: nmap-ipv6_literal_proxy.patch
URL: http://nmap.org/
BuildRequires: gcc-c++
@ -273,6 +275,9 @@ fi
%endif
%changelog
* Tue Aug 23 2022 Martin Osvald <mosvald@redhat.com> - 2:7.70-8
- Resolves: #2120294 - wrong connect format
* Wed May 04 2022 Martin Osvald <mosvald@redhat.com> - 2:7.70-7
- Do not listen on ipv6 if it's disabled (#1899824)