1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi
Christophe JAILLET a571bc2832 iwlwifi: Fix memory leaks in error handling path
Should an error occur (invalid TLV len or memory allocation failure), the
memory already allocated in 'reduce_power_data' should be freed before
returning, otherwise it is leaking.

Fixes: 9dad325f9d ("iwlwifi: support loading the reduced power table from UEFI")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1504cd7d842d13ddb8244e18004523128d5c9523.1636615284.git.christophe.jaillet@wanadoo.fr
2021-11-22 20:39:16 +02:00
..
cfg iwlwifi: bump FW API to 67 for AX devices 2021-10-28 12:04:12 +03:00
dvm Core: 2021-11-02 06:20:58 -07:00
fw iwlwifi: Fix memory leaks in error handling path 2021-11-22 20:39:16 +02:00
mvm iwlwifi: fix warnings produced by kernel debug options 2021-11-22 20:38:46 +02:00
pcie iwlwifi: Fix missing error code in iwl_pci_probe() 2021-11-22 20:37:25 +02:00
queue iwlwifi: queue: avoid memory leak in reset flow 2021-04-14 12:07:19 +03:00
iwl-agn-hw.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-config.h iwlwifi: add new killer devices to the driver 2021-10-22 10:49:04 +03:00
iwl-context-info-gen3.h iwlwifi: yoyo: fw debug config from context info and preset 2021-10-22 10:49:01 +03:00
iwl-context-info.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-csr.h iwlwifi: pcie: update sw error interrupt for BZ family 2021-10-28 12:04:09 +03:00
iwl-dbg-tlv.c iwlwifi: yoyo: support for ROM usniffer 2021-10-28 12:04:10 +03:00
iwl-dbg-tlv.h iwlwifi: yoyo: fw debug config from context info and preset 2021-10-22 10:49:01 +03:00
iwl-debug.c iwlwifi: allow rate-limited error messages 2021-10-22 10:49:03 +03:00
iwl-debug.h iwlwifi: allow rate-limited error messages 2021-10-22 10:49:03 +03:00
iwl-devtrace-data.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-io.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-iwlwifi.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-msg.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-ucode.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-drv.c iwlwifi: mvm: retry init flow if failed 2021-11-22 20:38:17 +02:00
iwl-drv.h iwlwifi: mvm: retry init flow if failed 2021-11-22 20:38:17 +02:00
iwl-eeprom-parse.c iwlwifi: remove max_ht_ampdu_exponent config parameter 2021-02-11 01:52:10 +02:00
iwl-eeprom-parse.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-read.c iwlwifi: remove redundant iwl_finish_nic_init() argument 2021-10-22 10:49:02 +03:00
iwl-eeprom-read.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-fh.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-io.c iwlwifi: dump host monitor data when NIC doesn't init 2021-10-28 12:04:10 +03:00
iwl-io.h iwlwifi: remove redundant iwl_finish_nic_init() argument 2021-10-22 10:49:02 +03:00
iwl-modparams.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-nvm-parse.c iwlwifi: add vendor specific capabilities for some RFs 2021-10-22 10:48:57 +03:00
iwl-nvm-parse.h iwlmvm: set properly NIC_NOT_ACK_ENABLED flag 2021-02-11 01:52:11 +02:00
iwl-op-mode.h iwlwifi: prepare for synchronous error dumps 2021-08-26 23:32:21 +03:00
iwl-phy-db.c iwlwifi: iwl-phy-db: Add missing struct member description for 'trans' 2020-12-11 20:24:25 +02:00
iwl-phy-db.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-prph.h iwlwifi: Add support for more BZ HWs 2021-10-22 10:40:58 +03:00
iwl-scd.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.c iwlwifi: trans/pcie: defer transport initialisation 2021-04-14 12:07:21 +03:00
iwl-trans.h iwlwifi: yoyo: fw debug config from context info and preset 2021-10-22 10:49:01 +03:00
Kconfig First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
Makefile iwlwifi: mvm: convert old rate & flags to the new format. 2021-10-22 10:49:00 +03:00