- fix double free error when hitting ^C (#186201)
This commit is contained in:
parent
2c4a1f74ce
commit
29ec29ab8b
16
tftp-hpa-0.42-sigjmp.patch
Normal file
16
tftp-hpa-0.42-sigjmp.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- tftp-hpa-0.42/tftp/main.c.old 2006-02-16 18:45:22.000000000 +0100
|
||||
+++ tftp-hpa-0.42/tftp/main.c 2006-03-22 11:52:10.000000000 +0100
|
||||
@@ -304,9 +305,11 @@
|
||||
(*c->handler)(pargc, pargv);
|
||||
exit(0);
|
||||
}
|
||||
- if (sigsetjmp(toplevel,1) != 0)
|
||||
+ /*
|
||||
+ if (sigsetjmp(toplevel,1) != 0) {
|
||||
(void)putchar('\n');
|
||||
-
|
||||
+ }
|
||||
+ */
|
||||
#ifdef WITH_READLINE
|
||||
#ifdef HAVE_READLINE_HISTORY_H
|
||||
using_history();
|
||||
@ -3,11 +3,12 @@
|
||||
Summary: The client for the Trivial File Transfer Protocol (TFTP).
|
||||
Name: tftp
|
||||
Version: %{tftp_hpa_version}
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: BSD
|
||||
Group: Applications/Internet
|
||||
Source0: http://www.kernel.org/pub/software/network/tftp/tftp-hpa-%{tftp_hpa_version}.tar.gz
|
||||
Patch0: tftp-0.40-remap.patch
|
||||
Patch1: tftp-hpa-0.42-sigjmp.patch
|
||||
BuildPreReq: tcp_wrappers
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
|
||||
@ -34,6 +35,7 @@ enabled unless it is expressly needed. The TFTP server is run from
|
||||
%prep
|
||||
%setup -q -n tftp-hpa-%{version}
|
||||
%patch0 -p1 -b .zero
|
||||
%patch1 -p1 -b .sigjmp
|
||||
|
||||
%build
|
||||
|
||||
@ -76,6 +78,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 22 2006 Radek Vokál <rvokal@redhat.com> 0.42-2
|
||||
- fix double free error when hitting ^C (#186201)
|
||||
|
||||
* Wed Feb 22 2006 Radek Vokál <rvokal@redhat.com> 0.42-1
|
||||
- upgrade to 0.42
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user