]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix ap-mgmt-fuzzer build configuration to match libap.a
authorJouni Malinen <jouni@codeaurora.org>
Wed, 29 May 2019 10:49:21 +0000 (13:49 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 29 May 2019 10:59:39 +0000 (13:59 +0300)
commitbc4d7dfc5a8992d83dcf074b25eccd7ec2ace89f
tree780f875173babfcf77477ff4d88795faef7a87b7
parent7d89a997146beec38a6a3785dd6c08fd6bbc87c4
tests: Fix ap-mgmt-fuzzer build configuration to match libap.a

Missing CONFIG_AIRTIME_POLICY=y made the offset of struct
hostapd_iface::prev_wmm different between libap.a and ap-mgmt-fuzzer.o
which resulted in odd fuzzing failures due to a memcpy to
ctx.iface->prev_wmm ending up writing on top of the ctx.hapd and in
particular, on top of ctx.hapd.iface pointer.

Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15013
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15014
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15015
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15017
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15019
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15020
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/ap-mgmt-fuzzer/Makefile