123456789101112131415161718192021 |
- $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
- --- aircrack-ng-1.0-rc3.orig/src/airtun-ng.c 2009-03-26 22:01:02.000000000 +0100
- +++ aircrack-ng-1.0-rc3/src/airtun-ng.c 2009-05-01 15:52:04.000000000 +0200
- @@ -222,7 +222,7 @@ int addFrag(unsigned char* packet, unsig
- if(rFragment == NULL)
- return -1;
-
- - bzero(frame, 4096);
- + memset(frame, 0, 4096);
- memcpy(frame, packet, len);
-
- z = ( ( frame[1] & 3 ) != 3 ) ? 24 : 30;
- @@ -1029,7 +1029,7 @@ int main( int argc, char *argv[] )
- memset( &dev, 0, sizeof( dev ) );
-
- rFragment = (pFrag_t) malloc(sizeof(struct Fragment_list));
- - bzero(rFragment, sizeof(struct Fragment_list));
- + memset(rFragment, 0, sizeof(struct Fragment_list));
-
- opt.r_nbpps = 100;
- opt.tods = 0;
|