openwrt-pf/package/network
Felix Fietkau f3ff33c8a9 hostapd: ucode: fix per-station PSK list parsing in sta_auth
Two defects handling the psk array returned by an auth handler: strlen()
ran before the string was validated (strlen(NULL) on a non-string entry),
and the hex-PMK branch tested the array length instead of the entry length.
A 64-character passphrase therefore reached the passphrase branch and its
memcpy of str_len + 1 overflowed passphrase[MAX_PASSPHRASE_LEN + 1] by one
byte. Validate the type first and branch on the string length.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-07-16 11:50:21 +02:00
..
config wifi-scripts: fix undeclared variable in service wifi-device injection 2026-07-16 11:50:21 +02:00
ipv6 scripts: dhcp: option to override preferred Client ID per interface 2026-07-11 17:30:55 +02:00
services hostapd: ucode: fix per-station PSK list parsing in sta_auth 2026-07-16 11:50:21 +02:00
utils wireguard: add metric to routes 2026-07-01 19:09:09 +02:00