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:
9604bd1
)
Fix: relayd: unchecked allocation result of unlinked file pool
author
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Mon, 6 Apr 2020 16:39:17 +0000
(12:39 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Mon, 6 Apr 2020 16:39:17 +0000
(12:39 -0400)
`pool` is not checked for NULL after its allocation. Error out
if the allocation fails.
In lttng_unlinked_file_pool_create: Return value of function which
returns null is dereferenced without checking (CWE-476)
Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I2a7717701cf3d11de557b9ecdc6609c1f6a1fd6f
No differences found
This page took
0.025207 seconds
and
4
git commands to generate.