aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2014-05-07 21:40:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-24 01:57:14 +0900
commit2af9e74ae6b013a6e30d631246db7825185abac0 (patch)
tree5f8f64c951bdcd2691a3b2ece405064f4baace79 /scripts/patch-kernel
parentstaging: rtl8712: fix potential leak in r871x_wx_set_enc_ext() (diff)
staging: rtl8712: fix potential leaks in r8712_set_key()
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@gmx.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions