aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2016-06-23 14:37:20 +0200
committerMartin K. Petersen <[email protected]>2016-07-12 23:16:31 -0400
commit2a6a20ea7d894464ca6bd402058c1aadf796a48c (patch)
tree149a1250c52c19c843c9651413a94f6de53fa9aa /tools/perf/scripts/python/bin
parent40e4c0a4e1d5414ed33e5bc846a832dc868fa65d (diff)
snic: Fix use-after-free in case of a dma mapping error
If there is a dma mapping error snic kfree()s buf right before printing it. Change the order to not accidently trip on memory that's not owned by us anymore. Signed-off-by: Johannes Thumshirn <[email protected]> Acked-by: Narsimhulu Musini <[email protected]> Reviewed-by: Laurence Oberman <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions