diff options
| author | Dmitry Antipov <[email protected]> | 2023-10-09 20:04:49 +0300 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2023-10-23 12:24:24 +0200 |
| commit | 3c8aaaa7557b1e33e6ef95a27a5d8a139dcd0874 (patch) | |
| tree | 306f78fe839cc0b3653b7f3fa655f98580c9777c /tools/perf/scripts/python/flamegraph.py | |
| parent | 89141f965325de9aac3805cd506df788179b2809 (diff) | |
wifi: iwlwifi: check for kmemdup() return value in iwl_parse_tlv_firmware()
In 'iwl_parse_tlv_firmware()', check for 'kmemdup()' return value
when handling IWL_UCODE_TLV_CURRENT_PC and set the number of parsed
entries only if an allocation was successful (just like it does with
handling IWL_UCODE_TLV_CMD_VERSIONS above). Compile tested only.
Signed-off-by: Dmitry Antipov <[email protected]>
Acked-by: Gregory Greenman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions