Draft: libwifi: chlist: limit max num of supported opclasses
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