]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: scan: fix buffer over-read in parsing roaming consortium
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Sun, 9 Feb 2020 16:58:58 +0000 (17:58 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Feb 2020 18:18:24 +0000 (19:18 +0100)
commitbaea1a0b3c8dad7712e3fe52962bf86de0298130
treee7e8fea23026c07e88b98a126bca704df5867757
parentcb13b9dfc0f1625280b5d6ed257b4234d6a6bb6d
iw: scan: fix buffer over-read in parsing roaming consortium

ANQP and OI length are always present, increase min. length by 2.

Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20200209165902.44110-5-markus.theil@tu-ilmenau.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
scan.c