iwinfo: improve center channel handling
authorAnsuel Smith <ansuelsmth@gmail.com>
Wed, 6 Jan 2021 03:05:37 +0000 (04:05 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 6 Jan 2021 17:38:07 +0000 (17:38 +0000)
commit0702f322949bb276ae42b77c8c0cd89d8a5d0318
treed789bf6190b19a060e781b6b5163637e0e441dc6
parent618c1e86f039b815e3c6b79e91ea706a830716a0
iwinfo: improve center channel handling

- Improve iwinfo center channel struct position
- Prevent read beyond buffer on malformed data

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
include/iwinfo.h
iwinfo_nl80211.c