Skip to content
Snippets Groups Projects
Commit 1ca8f881 authored by Vincent Stehlé's avatar Vincent Stehlé Committed by Tom Rini
Browse files

tools/proftool: fix use-after-free


The read_trace_config() can dereference the line pointer after freeing
it on its error path. Avoid that.

This was found by Coverity Scan.

Signed-off-by: default avatarVincent Stehlé <vincent.stehle@freescale.com>
Cc: Simon Glass <sjg@chromium.org>
parent 98e73c83
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment