aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2017-12-26 20:07:34 -0500
committerSteven Rostedt (VMware) <[email protected]>2017-12-27 14:21:27 -0500
commit4397f04575c44e1440ec2e49b6302785c95fd2f8 (patch)
treef19586c8935eb246577a72637c12378bf10fede1 /scripts/gdb/linux/dmesg.py
parent24f2aaf952ee0b59f31c3a18b8b36c9e3d3c2cf5 (diff)
tracing: Fix possible double free on failure of allocating trace buffer
Jing Xia and Chunyan Zhang reported that on failing to allocate part of the tracing buffer, memory is freed, but the pointers that point to them are not initialized back to NULL, and later paths may try to free the freed memory again. Jing and Chunyan fixed one of the locations that does this, but missed a spot. Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] Fixes: 737223fbca3b1 ("tracing: Consolidate buffer allocation code") Reported-by: Jing Xia <[email protected]> Reported-by: Chunyan Zhang <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions