2961
|
1 |
See debian bug #521857, patch from Timothy Redaelli <[email protected]>
|
|
2 |
|
|
3 |
--- ettercap-0.7.3.orig/src/protocols/ec_tcp.c
|
|
4 |
+++ ettercap-0.7.3/src/protocols/ec_tcp.c
|
|
5 |
@@ -116,7 +116,7 @@
|
|
6 |
tcp = (struct tcp_header *)DECODE_DATA;
|
|
7 |
|
|
8 |
opt_start = (u_char *)(tcp + 1);
|
|
9 |
- opt_end = (u_char *)((int)tcp + tcp->off * 4);
|
|
10 |
+ opt_end = (u_char *)(tcp + tcp->off * 4);
|
|
11 |
|
|
12 |
DECODED_LEN = (u_int32)(tcp->off * 4);
|
|
13 |
|
|
14 |
See debian bug #521857, patch from Timothy Redaelli <[email protected]>
|
|
15 |
|
|
16 |
--- ettercap-0.7.3.orig/src/protocols/ec_tcp.
|