rpms/ettercap/F-12 ettercap-NG-0.7.3-64bit-crash.patch, NONE, 1.1 ettercap.spec, 1.24, 1.25
Jon Ciesla
limb at fedoraproject.org
Mon Apr 26 14:02:06 UTC 2010
Author: limb
Update of /cvs/pkgs/rpms/ettercap/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12461/F-12
Modified Files:
ettercap.spec
Added Files:
ettercap-NG-0.7.3-64bit-crash.patch
Log Message:
Crash fix.
ettercap-NG-0.7.3-64bit-crash.patch:
ec_tcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE ettercap-NG-0.7.3-64bit-crash.patch ---
--- src/protocols/ec_tcp.c
+++ src/protocols/ec_tcp.c
@@ -116,7 +116,7 @@ FUNC_DECODER(decode_tcp)
tcp = (struct tcp_header *)DECODE_DATA;
opt_start = (u_char *)(tcp + 1);
- opt_end = (u_char *)((int)tcp + tcp->off * 4);
+ opt_end = (u_char *)(tcp + tcp->off * 4);
DECODED_LEN = (u_int32)(tcp->off * 4);
Index: ettercap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ettercap/F-12/ettercap.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -r1.24 -r1.25
--- ettercap.spec 21 Aug 2009 13:18:40 -0000 1.24
+++ ettercap.spec 26 Apr 2010 14:02:05 -0000 1.25
@@ -1,6 +1,6 @@
Name: ettercap
Version: 0.7.3
-Release: 34%{?dist}
+Release: 35%{?dist}
Summary: Network traffic sniffer/analyser, NCURSES interface version
Group: Applications/Internet
License: GPLv2+
@@ -14,6 +14,7 @@ Patch2: ettercap-NG-0.7.3-daemon-ui.patc
Patch3: ettercap-NG-0.7.3-daemon-textmode.patch
Patch4: ettercap-NG-0.7.3-mitm-loop.patch
Patch5: ettercap-NG-0.7.3-selinux-fcntl.patch
+Patch6: ettercap-NG-0.7.3-64bit-crash.patch
BuildRoot: %{_tmppath}/%{name}-NG-%{version}-%{release}-root%(%{__id_u} -n)
BuildRequires: desktop-file-utils
@@ -100,6 +101,7 @@ This package contains the GTK version.
%patch3 -p0
%patch4 -p0
%patch5 -p0
+%patch6 -p0
%build
%configure --enable-gtk
@@ -196,6 +198,9 @@ rm -rf %{buildroot}
%{_datadir}/icons/hicolor/32x32/apps/ettercap.png
%changelog
+* Fri Apr 23 2010 Jon Ciesla <limb at jcomserv.net> - 0.7.3-35
+- Patch for 64bit crash by Timothy Redaelli, BZ 550237.
+
* Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 0.7.3-34
- rebuilt with new openssl
More information about the scm-commits
mailing list