tags 521857 + pending
thanks

Dear maintainer,

I've prepared an NMU for ettercap (versioned as 1:0.7.3-2.1) and
uploaded it to DELAYED/2, as suggested by section 5.11.1 of the
Developers' Reference. Please feel free to tell me if I should delay
it longer.

This applies a fix to the 01_pointers_and_ints_dont_mix.diff patch.

Regards.

diff -u ettercap-0.7.3/debian/changelog ettercap-0.7.3/debian/changelog
--- ettercap-0.7.3/debian/changelog
+++ ettercap-0.7.3/debian/changelog
@@ -1,3 +1,12 @@
+ettercap (1:0.7.3-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * 01_pointers_and_ints_dont_mix.diff: Cast to u_char* rather than
+    simply removing the cast.  Updated patch by Robert Edmonds.
+    (Closes: #521857)
+
+ -- Tim Retout <[email protected]>  Thu, 07 Oct 2010 20:34:05 +0100
+
 ettercap (1:0.7.3-2) unstable; urgency=low
 
   * Ettercap can see wifi traffics with new libpcap (Closes: #385746).
diff -u ettercap-0.7.3/debian/patches/01_pointers_and_ints_dont_mix.diff 
ettercap-0.7.3/debian/patches/01_pointers_and_ints_dont_mix.diff
--- ettercap-0.7.3/debian/patches/01_pointers_and_ints_dont_mix.diff
+++ ettercap-0.7.3/debian/patches/01_pointers_and_ints_dont_mix.diff
@@ -1,4 +1,5 @@
-See debian bug #521857, patch from Timothy Redaelli <[email protected]>
+See debian bug #521857, patch from Timothy Redaelli<[email protected]>
+Revised by Robert Edmonds <[email protected]>
 
 --- ettercap-0.7.3.orig/src/protocols/ec_tcp.c
 +++ ettercap-0.7.3/src/protocols/ec_tcp.c
@@ -8,5 +9,5 @@
     opt_start = (u_char *)(tcp + 1);
 -   opt_end = (u_char *)((int)tcp + tcp->off * 4);
-+   opt_end = (u_char *)(tcp + tcp->off * 4);
++   opt_end = (u_char *)(((u_char *)tcp) + tcp->off * 4);
  
     DECODED_LEN = (u_int32)(tcp->off * 4);



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to