commit | c60a9607751ce533681f702d1575638ad7419c04 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Wed May 07 21:42:27 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 24 01:45:49 2014 +0900 |
tree | a9266f8bf049514700cd8ce74c13a81b9a518845 | |
parent | e0e2c5cde57d4b0c3af2998c3a591f3db75ce7eb [diff] |
staging: rtl8188eu: fix potential leak in update_bcn_wps_ie() Fix a potential leak in the error path of function update_bcn_wps_ie(). Move the affected input verification to the beginning of the function so that it may return directly without leaking already allocated memory. Detected by Coverity - CID 1077718. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>