projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
a9cfc0f
)
Fix: lttng-snapshot: use after free of max size argument
author
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Tue, 17 May 2022 17:41:49 +0000
(13:41 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Tue, 17 May 2022 17:41:49 +0000
(13:41 -0400)
gcc 12.1.0 reports:
commands/snapshot.cpp: In function ‘int cmd_snapshot(int, const char**)’:
../../../src/common/error.hpp:139:32: error: pointer ‘max_size_arg’ may be used after ‘void free(void*)’ [-Werror=use-after-free]
free max_size_arg on both paths.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I3775e835e10b364f32f4797afb9c090ac4dc133c
No differences found
This page took
0.025054 seconds
and
4
git commands to generate.