eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5a40c49c44f7cc4808bce6c0b45f8b8e85cf264d
parent 3bd265e02ff728d870e266f7579706e238d2d749
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Mon,  8 Jul 2019 18:59:32 +0200

mpdu: Validate action frame minimum length

Action frames must at least have the Category byte

Diffstat:
Msrc/mpdu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mpdu.c b/src/mpdu.c @@ -587,7 +587,7 @@ static bool validate_mgmt_mpdu(const struct mmpdu_header *mpdu, int len, return validate_deauthentication_mmpdu(mpdu, len, offset); case MPDU_MANAGEMENT_SUBTYPE_ACTION: case MPDU_MANAGEMENT_SUBTYPE_ACTION_NO_ACK: - return true; + return *offset + 1 <= len; default: return false; }