commit | a9fa20034214735e3086f72b2fde4fb8a423f102 | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@tieto.com> | Mon Oct 29 14:04:43 2012 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:17:03 2020 +0200 |
tree | 8e86afe7e68857c4749ef9b9bd10228d60e686c8 | |
parent | c5a2f74a26a449f08fe0000ad35a1f1fdb18d827 [diff] |
NFC: pn533: Fix use after free commit 770f750bc2b8312489c8e45306f551d08a319d3c upstream. cmd was freed in pn533_dep_link_up regardless of pn533_send_cmd_frame_async return code. Cmd is passed as argument to pn533_in_dep_link_up_complete callback and should be freed there. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>