Skip to content

Draft: libwifi: chlist: limit max num of supported opclasses

Filip Matusiak requested to merge fm-dev-20210326 into devel

Treat num argument to get_supported_opclass as in/out argument and use it to validate maximum expected number of entries in the returned supported opclass array. This is a safeguard to not get out of an array bounds.

Signed-off-by: Filip Matusiak filip.matusiak@iopsys.eu

Edited by Filip Matusiak

Merge request reports