summaryrefslogtreecommitdiff
path: root/tools/vm
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-12-02 16:23:55 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-11 09:14:19 +0100
commit0fa2c8eb270413160557babda519aa3c21e2bfaf (patch)
tree13a8718095bdd9da919dad07249210b2f414f118 /tools/vm
parent5b11ebedd6a8bb4271b796e498cd15c0fe1133b6 (diff)
ppdev: don't print a free'd string
A previous fix of a memory leak now prints the string 'name' that was previously free'd. Fix this by free'ing the string at the end of the function and adding an error exit path for the error conditions. CoverityScan CID#1384523 ("Use after free") Fixes: 2bd362d5f45c1 ("ppdev: fix memory leak") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions
inux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu: - use-after-free in algif_aead - modular aesni regression when pcbc is modular but absent - bug causing IO page faults in ccp - double list add in ccp - NULL pointer dereference in qat (two patches) - panic in chcr - NULL pointer dereference in chcr - out-of-bound access in chcr * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: chcr - Fix key length for RFC4106 crypto: algif_aead - Fix kernel panic on list_del crypto: aesni - Fix failure when pcbc module is absent crypto: ccp - Fix double add when creating new DMA command crypto: ccp - Fix DMA operations when IOMMU is enabled crypto: chcr - Check device is allocated before use crypto: chcr - Fix panic on dma_unmap_sg crypto: qat - zero esram only for DH85x devices crypto: qat - fix bar discovery for c62x
Diffstat (limited to 'tools/perf/bench/futex-requeue.c')