projects
/
lttng-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
a83d683
)
Fix: event-notifier: Groups may not have an error counter
author
Francis Deslauriers
<francis.deslauriers@efficios.com>
Fri, 27 Nov 2020 19:40:08 +0000
(14:40 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Fri, 27 Nov 2020 20:44:53 +0000
(15:44 -0500)
Issue
=====
If no error counter is attached to an event notifier group, calling
the `record_error()` function leads to a NULL pointer dereference.
Solution
========
Check if the error_counter field is allocated before dereferencing it.
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I7ba68f9ae5b7b66cea538cf030bc5e1287d6eace
No differences found
This page took
0.027149 seconds
and
4
git commands to generate.