diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-04 10:34:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-04 10:34:02 +0200 |
commit | 5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch) | |
tree | cd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/aircrack-ng/patches/patch-src_osdep_linux_c | |
parent | 401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff) | |
parent | 4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts:
BUGS
package/autoconf/Makefile
Diffstat (limited to 'package/aircrack-ng/patches/patch-src_osdep_linux_c')
-rw-r--r-- | package/aircrack-ng/patches/patch-src_osdep_linux_c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/package/aircrack-ng/patches/patch-src_osdep_linux_c b/package/aircrack-ng/patches/patch-src_osdep_linux_c deleted file mode 100644 index 691af6d9f..000000000 --- a/package/aircrack-ng/patches/patch-src_osdep_linux_c +++ /dev/null @@ -1,17 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- aircrack-ng-1.0-rc3.orig/src/osdep/linux.c 2009-03-26 22:01:02.000000000 +0100 -+++ aircrack-ng-1.0-rc3/src/osdep/linux.c 2009-05-01 15:52:04.000000000 +0200 -@@ -1639,11 +1639,11 @@ static int do_linux_open(struct wif *wi, - - //use name in buf as new iface and set original iface as main iface - dev->main_if = (char*) malloc(strlen(iface)+1); -- bzero(dev->main_if, strlen(iface)+1); -+ memset(dev->main_if, 0, strlen(iface)+1); - strncpy(dev->main_if, iface, strlen(iface)); - - iface=(char*)malloc(strlen(buf)+1); -- bzero(iface, strlen(buf)+1); -+ memset(iface, 0, strlen(buf)+1); - strncpy(iface, buf, strlen(buf)); - } - |