projects
/
lttng-ust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
c30ad76
)
Fix: event-notifier: Groups may not have an error counter
author
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 9 Dec 2020 14:15:46 +0000
(09:15 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 9 Dec 2020 14:15:46 +0000
(09:15 -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: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I124519d37efe8eb20296cfd74027642c8e8162a5
No differences found
This page took
0.027013 seconds
and
4
git commands to generate.