diff options
| author | Avinash Patil <patila@marvell.com> | 2013-07-22 19:17:46 -0700 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2013-07-24 11:02:07 -0400 |
| commit | 8795ca61e4ff3db70f2d072a28aaefc29f1a2301 (patch) | |
| tree | 526845a559226dd1f26e6e4ea4496d4220ce3404 /net/unix/sysctl_net_unix.c | |
| parent | 5e4c07987f4db22cbc3e1dadb021baab0a34a57f (diff) | |
mwifiex: correct max IE length check for WPS IE
This patch is bug fix for an invalid boundry check for WPS IE.
We should check max IE length against defined macro; instead we were
checking it against size of pointer. Fix it.
Also move IE length check before allocation of memory.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
