[57289] trunk/dports/net/ettercap-ng
toby at macports.org
toby at macports.org
Tue Sep 8 11:24:36 PDT 2009
Revision: 57289
http://trac.macports.org/changeset/57289
Author: toby at macports.org
Date: 2009-09-08 11:24:31 -0700 (Tue, 08 Sep 2009)
Log Message:
-----------
#21209 (Ettercap-ng give a segfault on Snow Leopard)
Modified Paths:
--------------
trunk/dports/net/ettercap-ng/Portfile
Added Paths:
-----------
trunk/dports/net/ettercap-ng/files/patch-src__protocols__ec_tcp.c
Modified: trunk/dports/net/ettercap-ng/Portfile
===================================================================
--- trunk/dports/net/ettercap-ng/Portfile 2009-09-08 17:57:52 UTC (rev 57288)
+++ trunk/dports/net/ettercap-ng/Portfile 2009-09-08 18:24:31 UTC (rev 57289)
@@ -22,7 +22,8 @@
checksums md5 28fb15cd024162c55249888fe1b97820
patchfiles patch-src-Makefile.in patch-configure \
- patch-src-interfaces-curses-widgets-wdg.h
+ patch-src-interfaces-curses-widgets-wdg.h \
+ patch-src__protocols__ec_tcp.c
depends_lib port:openssl \
port:libpcap \
Added: trunk/dports/net/ettercap-ng/files/patch-src__protocols__ec_tcp.c
===================================================================
--- trunk/dports/net/ettercap-ng/files/patch-src__protocols__ec_tcp.c (rev 0)
+++ trunk/dports/net/ettercap-ng/files/patch-src__protocols__ec_tcp.c 2009-09-08 18:24:31 UTC (rev 57289)
@@ -0,0 +1,11 @@
+--- src/protocols/ec_tcp.c.orig 2009-09-08 17:04:47.000000000 +0200
++++ src/protocols/ec_tcp.c 2009-09-08 17:06:15.000000000 +0200
+@@ -116,7 +116,7 @@
+ 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);
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090908/c209eb55/attachment-0001.html>
More information about the macports-changes
mailing list