diff options
Diffstat (limited to 'extra/ettercap-gtk/fix-segmentation-fault.patch')
-rw-r--r-- | extra/ettercap-gtk/fix-segmentation-fault.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/extra/ettercap-gtk/fix-segmentation-fault.patch b/extra/ettercap-gtk/fix-segmentation-fault.patch deleted file mode 100644 index 3f0c7bf79..000000000 --- a/extra/ettercap-gtk/fix-segmentation-fault.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 8cdf08d401d368d5678f9d9c2cf36ddbdef03aec -Author: Timothy Redaelli <timothy@redaelli.eu> -Date: Tue Jun 23 09:16:27 2009 +0000 - - Fix a crash in 64 bit CPUs - -diff --git a/src/protocols/ec_tcp.c b/src/protocols/ec_tcp.c -index ea0c997..be8f3e0 100644 ---- a/src/protocols/ec_tcp.c -+++ b/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); - |