projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6652b61
)
Fixed NULL pointer dereference on error path [Bug 273]
author
Jouni Malinen
<j@w1.fi>
Fri, 18 Jul 2008 02:57:03 +0000
(
05:57
+0300)
committer
Jouni Malinen
<j@w1.fi>
Fri, 18 Jul 2008 02:57:03 +0000
(
05:57
+0300)
hostapd/driver_madwifi.c
patch
|
blob
|
history
diff --git
a/hostapd/driver_madwifi.c
b/hostapd/driver_madwifi.c
index
9c3ebff
..
1dd12ea
100644
(file)
--- a/
hostapd/driver_madwifi.c
+++ b/
hostapd/driver_madwifi.c
@@
-1204,7
+1204,7
@@
madwifi_init(struct hostapd_data *hapd)
drv = os_zalloc(sizeof(struct madwifi_driver_data));
if (drv == NULL) {
printf("Could not allocate memory for madwifi driver data\n");
-
goto bad
;
+
return NULL
;
}
drv->hapd = hapd;