Commit 46953f9
brcmfmac: fix missing checks for kmemdup
In case kmemdup fails, the fix sets conn_info->req_ie_len and
conn_info->resp_ie_len to zero to avoid buffer overflows.
Signed-off-by: Kangjie Lu <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>1 parent a9fd095 commit 46953f9
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5464 | 5464 | | |
5465 | 5465 | | |
5466 | 5466 | | |
| 5467 | + | |
| 5468 | + | |
5467 | 5469 | | |
5468 | 5470 | | |
5469 | 5471 | | |
| |||
5480 | 5482 | | |
5481 | 5483 | | |
5482 | 5484 | | |
| 5485 | + | |
| 5486 | + | |
5483 | 5487 | | |
5484 | 5488 | | |
5485 | 5489 | | |
| |||
0 commit comments