[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110124.232035.183057878.davem@davemloft.net>
Date: Mon, 24 Jan 2011 23:20:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jj@...osbits.net
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, gregkh@...e.de, zapman@...erlan.net,
rothwell@...erlan.net
Subject: Re: [PATCH] USB NET KL5KUSB101: Fix mem leak in error path of
kaweth_download_firmware()
From: Jesper Juhl <jj@...osbits.net>
Date: Sun, 23 Jan 2011 23:19:55 +0100 (CET)
> We will leak the storage allocated by request_firmware() if the size of
> the firmware is greater than KAWETH_FIRMWARE_BUF_SIZE.
> This removes the leak by calling release_firmware() before we return
> -ENOSPC.
>
> Signed-off-by: Jesper Juhl <jj@...osbits.net>
Applied, thanks Jesper.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists