Resolves: #1415706 - telnet dumps core with certain combination of parameters
This commit is contained in:
parent
f13a0beb3b
commit
f6c3252203
13
netkit-telnet-0.17-core-dump.patch
Normal file
13
netkit-telnet-0.17-core-dump.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/telnet/main.c.old b/telnet/main.c
|
||||||
|
index 599f0af..cf67ea6 100644
|
||||||
|
--- a/telnet/main.c.old
|
||||||
|
+++ b/telnet/main.c
|
||||||
|
@@ -337,7 +337,7 @@ main(int argc, char *argv[])
|
||||||
|
argv += optind;
|
||||||
|
|
||||||
|
if (argc) {
|
||||||
|
- char *args[7], **argp = args;
|
||||||
|
+ char *args[8], **argp = args;
|
||||||
|
|
||||||
|
if (argc > 2)
|
||||||
|
usage();
|
@ -3,7 +3,7 @@
|
|||||||
Summary: The client program for the Telnet remote login protocol
|
Summary: The client program for the Telnet remote login protocol
|
||||||
Name: telnet
|
Name: telnet
|
||||||
Version: 0.17
|
Version: 0.17
|
||||||
Release: 66%{?dist}
|
Release: 67%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -36,6 +36,7 @@ Patch24: telnet-rh674942.patch
|
|||||||
Patch25: telnet-rh704604.patch
|
Patch25: telnet-rh704604.patch
|
||||||
Patch26: telnet-rh825946.patch
|
Patch26: telnet-rh825946.patch
|
||||||
Patch27: telnet-0.17-force-ipv6-ipv4.patch
|
Patch27: telnet-0.17-force-ipv6-ipv4.patch
|
||||||
|
Patch28: netkit-telnet-0.17-core-dump.patch
|
||||||
|
|
||||||
BuildRequires: ncurses-devel systemd
|
BuildRequires: ncurses-devel systemd
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -87,6 +88,7 @@ mv telnet telnet-NETKIT
|
|||||||
%patch25 -p1 -b .rh704604
|
%patch25 -p1 -b .rh704604
|
||||||
%patch26 -p1 -b .rh825946
|
%patch26 -p1 -b .rh825946
|
||||||
%patch27 -p1 -b .ipv6-support
|
%patch27 -p1 -b .ipv6-support
|
||||||
|
%patch28 -p1 -b .core-dump
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
@ -152,6 +154,9 @@ install -p -m644 %SOURCE6 ${RPM_BUILD_ROOT}%{_unitdir}/telnet.socket
|
|||||||
%{_mandir}/man8/telnetd.8*
|
%{_mandir}/man8/telnetd.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 23 2017 Michal Ruprich <mruprich@redhat.com> - 1:0.17-67
|
||||||
|
- Resolves: #1415706 - telnet dumps core with certain combination of parameters
|
||||||
|
|
||||||
* Sat Oct 01 2016 Richard W.M. Jones <rjones@redhat.com> - 1:0.17-66
|
* Sat Oct 01 2016 Richard W.M. Jones <rjones@redhat.com> - 1:0.17-66
|
||||||
- BR perl
|
- BR perl
|
||||||
(https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl)
|
(https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl)
|
||||||
|
Loading…
Reference in New Issue
Block a user