summaryrefslogtreecommitdiff
path: root/package/aircrack-ng/patches/patch-src_aireplay-ng_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-05 12:15:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-05 12:15:12 +0100
commit65b27b644c5817eb63fe7b8392236c37e0386f9b (patch)
tree31dcf3f300443fae37ed57c6c86fec960e3de9da /package/aircrack-ng/patches/patch-src_aireplay-ng_c
parent9230fde0381a7dcc7e3d86e954382a01a8fcfd63 (diff)
update some packages to latest upstream
- openssh, aircrack-ng, autoconf, lighttpd - use mplayer svn version
Diffstat (limited to 'package/aircrack-ng/patches/patch-src_aireplay-ng_c')
-rw-r--r--package/aircrack-ng/patches/patch-src_aireplay-ng_c42
1 files changed, 0 insertions, 42 deletions
diff --git a/package/aircrack-ng/patches/patch-src_aireplay-ng_c b/package/aircrack-ng/patches/patch-src_aireplay-ng_c
deleted file mode 100644
index 66a92b0cc..000000000
--- a/package/aircrack-ng/patches/patch-src_aireplay-ng_c
+++ /dev/null
@@ -1,42 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- aircrack-ng-1.0-rc3.orig/src/aireplay-ng.c 2009-03-26 22:01:02.000000000 +0100
-+++ aircrack-ng-1.0-rc3/src/aireplay-ng.c 2009-05-01 15:52:04.000000000 +0200
-@@ -2908,7 +2908,7 @@ add_arp:
- return( 1 );
- }
-
-- bzero(flip, 4096);
-+ memset(flip, 0, 4096);
-
- // flip[49-24-4] ^= ((rand() % 255)+1); //flip random bits in last byte of sender MAC
- // flip[53-24-4] ^= ((rand() % 255)+1); //flip random bits in last byte of sender IP
-@@ -3086,13 +3086,13 @@ read_packets:
- break;
- }
-
-- bzero(clear, 4096);
-- bzero(final, 4096);
-- bzero(flip, 4096);
-- bzero(frag1, 128);
-- bzero(frag2, 128);
-- bzero(frag3, 128);
-- bzero(keystream, 128);
-+ memset(clear, 0, 4096);
-+ memset(final, 0, 4096);
-+ memset(flip, 0, 4096);
-+ memset(frag1, 0, 128);
-+ memset(frag2, 0, 128);
-+ memset(frag3, 0, 128);
-+ memset(keystream, 0, 128);
-
- /* check if it's a potential ARP request */
-
-@@ -3378,7 +3378,7 @@ int do_attack_chopchop( void )
- if( opt.r_smac_set == 1 )
- {
- //handle picky APs (send one valid packet before all the invalid ones)
-- bzero(packet, sizeof(packet));
-+ memset(packet, 0, sizeof(packet));
-
- memcpy( packet, NULL_DATA, 24 );
- memcpy( packet + 4, "\xFF\xFF\xFF\xFF\xFF\xFF", 6 );