projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Uninitialized pointer read
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
consumer.c
diff --git
a/src/bin/lttng-sessiond/consumer.c
b/src/bin/lttng-sessiond/consumer.c
index 7ad749e6d248695d61970ef34f50455afb869b73..245fda5628d42c707ee4097e5757e143ffbfb32a 100644
(file)
--- a/
src/bin/lttng-sessiond/consumer.c
+++ b/
src/bin/lttng-sessiond/consumer.c
@@
-407,6
+407,8
@@
error:
/*
* Delete the consumer_output object from the list and free the ptr.
/*
* Delete the consumer_output object from the list and free the ptr.
+ *
+ * Should *NOT* be called with RCU read-side lock held.
*/
void consumer_destroy_output(struct consumer_output *obj)
{
*/
void consumer_destroy_output(struct consumer_output *obj)
{
@@
-434,6
+436,8
@@
void consumer_destroy_output(struct consumer_output *obj)
/*
* Copy consumer output and returned the newly allocated copy.
/*
* Copy consumer output and returned the newly allocated copy.
+ *
+ * Should *NOT* be called with RCU read-side lock held.
*/
struct consumer_output *consumer_copy_output(struct consumer_output *obj)
{
*/
struct consumer_output *consumer_copy_output(struct consumer_output *obj)
{
This page took
0.025793 seconds
and
5
git commands to generate.