[PATCH] staging: rtl8712: fix potential leaks in r8712_set_key()

Greg KH gregkh at linuxfoundation.org
Sun May 4 00:27:35 UTC 2014


On Thu, May 01, 2014 at 11:54:02PM +0200, Christian Engelmayer wrote:
> Fix potential leaks in the error paths of r8712_set_key(). In case the
> algorithm specific checks fail, the function returns without enqueuing
> or freeing the already allocated command and parameter structs. Use a
> centralized exit path and make sure that all memory is freed correctly.
> Detected by Coverity - CID 144370, 144371.
> 
> Signed-off-by: Christian Engelmayer <cengelma at gmx.at>
> ---
> Compile tested and applies against branch staging-next of tree
> git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git

This doesn't apply either, and neither does one of your other patches,
what is going on?

Can you just refresh all of the outstanding patches you have sent me
that I have not applied and resend them?

thanks,

greg k-h


More information about the devel mailing list