1
0
Fork 0
alistair23-linux/drivers/staging/vt6656
Christian Engelmayer d34add0594 staging: vt6656: Fix possible leak in vnt_download_firmware()
When failing to allocate buffer memory, function vnt_download_firmware() goes
through the wrong exit path and fails to release the already requested
firmware. Thus use the correct cleanup. Detected by Coverity CID 1269128.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Reviewed-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-06 16:26:58 -08:00
..
Kconfig staging: vt6656: remove unneeded config and headers 2014-06-26 20:23:33 -04:00
Makefile staging: vt6656: dead code remove 80211mgr.c/h 2014-06-26 20:23:31 -04:00
TODO
baseband.c Staging: vt6656: Removing else after break statement to fix warning 2014-09-19 17:01:22 -07:00
baseband.h staging: vt6656: rename BBvUpdatePreEDThreshold to vnt_update_pre_ed_threshold 2014-07-17 18:01:52 -07:00
card.c Staging: vt6656: Fixed typo in a macro name 2015-01-12 19:46:50 -08:00
card.h staging: vt6556: Remove typedefs 2014-07-16 13:30:32 -07:00
channel.c staging: vt6656: struct vnt_private replace byRFType with rf_type 2014-07-21 12:11:56 -07:00
channel.h staging: vt6656: remove old channel tables 2014-06-26 20:23:32 -04:00
desc.h staging: vt6656: decode remove tether.c/h 2014-06-26 20:23:31 -04:00
device.h Staging: vt6656: Fixed typo in a macro name 2015-01-12 19:46:50 -08:00
dpc.c staging: vt6656: dpc remove unneeded headers 2014-07-27 11:19:57 -07:00
dpc.h Staging: vt6656: Fixed typo in a variable name 2015-01-12 19:46:50 -08:00
firmware.c staging: vt6656: Fix possible leak in vnt_download_firmware() 2015-03-06 16:26:58 -08:00
firmware.h staging: vt6656: rename FIRMWAREbCheckVersion to vnt_check_firmware_version 2014-06-19 15:59:49 -07:00
int.c staging: vt6656: dead code remove channel switch. 2014-07-21 12:16:29 -07:00
int.h staging: vt6656: rename INTvWorkItem to vnt_int_start_interrupt 2014-07-15 12:11:39 -07:00
key.c Staging: vt6656: Merges two lines of code and removes unused variable 2014-09-23 13:40:17 -07:00
key.h staging: vt6656: dead code remove old key functions 2014-06-26 20:23:32 -04:00
mac.c staging: vt6656: replace memcpy by ether_addr_copy 2015-02-26 17:14:07 -08:00
mac.h staging: vt6656: remove unused macros 2014-07-18 16:11:28 -07:00
main_usb.c staging: vt6656: Use ether_addr_copy() on vnt_private members. 2015-01-12 19:38:40 -08:00
power.c staging: vt6656: power.c replace DBG_PRT debug messages 2014-07-17 18:01:52 -07:00
power.h staging: vt6656: rf.h cleanup C_PWBT comments 2014-07-27 11:19:57 -07:00
rf.c Staging: vt6656: Merge two lines of code into one 2014-09-23 13:42:54 -07:00
rf.h staging: vt6656: rf.h clean up comments 2014-07-27 09:03:44 -07:00
rxtx.c Staging: vt6656: replace memcpy() by ether_addr_copy() using coccinelle and pack variable 2015-02-26 12:23:58 -08:00
rxtx.h staging: vt6656: struct vnt_tx_short_buf_head change base type of fifo_ctl to __le16 2014-07-22 16:19:36 -07:00
usbpipe.c staging: vt6656: remove unnecessary braces 2014-08-16 12:23:16 -07:00
usbpipe.h staging: vt6656: rename PIPEnsBulkInUsbRead to vnt_submit_rx_urb 2014-07-15 12:11:40 -07:00
wcmd.c staging: vt6656: remove return from all void functions 2014-07-27 09:03:44 -07:00
wcmd.h staging: vt6656: wcmd.h remove dead macros 2014-07-27 11:19:57 -07:00