mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
Update to new upstream release (v0.3.9)
SVN-Revision: 1245
This commit is contained in:
parent
5193e7db66
commit
c905b5f2bd
@ -3,9 +3,9 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=wpa_supplicant
|
||||
PKG_VERSION:=0.3.8
|
||||
PKG_RELEASE:=2
|
||||
PKG_MD5SUM:=c9ced104f0322f834a84336c293b4b57
|
||||
PKG_VERSION:=0.3.9
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=113873aafc4fcaa0515841a6f0a17fd0
|
||||
|
||||
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
@ -1,36 +0,0 @@
|
||||
Fixes some memory leaks in driver_broadom.c
|
||||
|
||||
http://openwrt.org/forum/viewtopic.php?pid=8217#p8217
|
||||
|
||||
Thanks Greg (framer99)
|
||||
|
||||
--- wpa_supplicant-0.3.8/driver_broadcom.c.orig 2005-01-22 05:35:13.000000000 +0100
|
||||
+++ wpa_supplicant-0.3.8/driver_broadcom.c 2005-06-10 08:50:14.000000000 +0200
|
||||
@@ -289,6 +289,7 @@
|
||||
wwh->type);
|
||||
break;
|
||||
}
|
||||
+ free(data.assoc_info.resp_ies);
|
||||
}
|
||||
|
||||
static void * wpa_driver_broadcom_init(void *ctx, const char *ifname)
|
||||
@@ -449,8 +450,10 @@
|
||||
wsr->count = 0;
|
||||
|
||||
if (broadcom_ioctl(drv, WLC_SCAN_RESULTS, buf, WLC_IOCTL_MAXLEN) <
|
||||
- 0)
|
||||
+ 0) {
|
||||
+ free(buf);
|
||||
return -1;
|
||||
+ }
|
||||
|
||||
memset(results, 0, max_size * sizeof(struct wpa_scan_result));
|
||||
|
||||
@@ -490,6 +493,7 @@
|
||||
wpa_printf(MSG_MSGDUMP, "Received %d bytes of scan results (%d BSSes)",
|
||||
wsr->buflen, ap_num);
|
||||
|
||||
+ free(buf);
|
||||
return ap_num;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user