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:
469df82
)
Fix: directory-handle: use of free'd handle on fstat() error
author
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Tue, 18 Feb 2020 01:13:49 +0000
(20:13 -0500)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Wed, 19 Feb 2020 22:47:41 +0000
(17:47 -0500)
On an error to fstat a directory handle, a directory handle is
released and is still initialized as if the error had not occurred.
Return NULL early from lttng_directory_handle_create_from_dirfd()
to prevent those erroneous accesses.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ia2a3bb1cfe8c90d3f7f87a68286a9b8524694d3c
No differences found
This page took
0.028657 seconds
and
4
git commands to generate.