commit | 451b1fcdce8a1dd3b5a983b09b88075f12007fec | [log] [tgz] |
---|---|---|
author | Vincent Stehlé <vincent.stehle@freescale.com> | Wed Oct 07 15:48:48 2015 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 16 17:22:18 2015 -0500 |
tree | 56d39618f56672bc3e6c9906d5c1fbbb496d4253 | |
parent | 809c054f3284fb29d832600b83cb623ecc8f2ce1 [diff] |
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: Vincent Stehlé <vincent.stehle@freescale.com> Cc: Simon Glass <sjg@chromium.org>