aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGuangming Cao <Guangming.Cao@mediatek.com>2021-10-08 15:54:20 +0800
committerChristian König <christian.koenig@amd.com>2021-10-29 09:19:31 +0200
commit8c0fd126263730c35927cc8445727afb79219a19 (patch)
tree2ddb83dec10a44a474cd9640ce4c022c53262b59 /tools/perf/scripts/python/export-to-postgresql.py
parent61b1d445f3bfe4c3ba4335ceeb7e8ba688fd31e2 (diff)
dma-buf: acquire name lock before read/write dma_buf.name
Because dma-buf.name can be freed in func: "dma_buf_set_name", so, we need to acquire lock first before we read/write dma_buf.name to prevent Use After Free(UAF) issue. Signed-off-by: Guangming Cao <Guangming.Cao@mediatek.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211008075420.42874-1-guangming.cao@mediatek.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions