projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b4dc9
)
hostapd: add missing return statement
author
Felix Fietkau
<nbd@nbd.name>
Wed, 13 Sep 2023 20:57:47 +0000
(22:57 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 13 Sep 2023 20:57:49 +0000
(22:57 +0200)
Avoids crash due to uninitialized stack/register garbage
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ucode.c
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/src/src/ap/ucode.c
b/package/network/services/hostapd/src/src/ap/ucode.c
index 3dc122b7c2758024b76fd30445312b55c7ff60ab..ba081d87c2dd19c7ec054bc6da94ccd6b7c388cd 100644
(file)
--- a/
package/network/services/hostapd/src/src/ap/ucode.c
+++ b/
package/network/services/hostapd/src/src/ap/ucode.c
@@
-396,6
+396,8
@@
uc_hostapd_iface_stop(uc_vm_t *vm, size_t nargs)
hostapd_drv_stop_ap(hapd);
hapd->beacon_set_done = 0;
}
+
+ return NULL;
}
static uc_value_t *