summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2014-02-18 22:25:15 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2014-02-28 11:02:51 +0100
commit8987583366ae9e03c306c2b7d73bdb952df1d08d (patch)
treeb41f0bbe8ce8d49bc090f6d30e7ab39ee77db023 /drivers/reset
parentLinux 3.14-rc4 (diff)
downloadlinux-8987583366ae9e03c306c2b7d73bdb952df1d08d.tar.xz
linux-8987583366ae9e03c306c2b7d73bdb952df1d08d.zip
firewire: net: fix use after free
Commit 8408dc1c14c1 "firewire: net: use dev_printk API" introduced a use-after-free in a failure path. fwnet_transmit_packet_failed(ptask) may free ptask, then the dev_err() call dereferenced it. The fix is straightforward; simply reorder the two calls. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: stable@vger.kernel.org # v3.4+ Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions