projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Dereference after NULL check in consumer
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
track-untrack.c
diff --git
a/src/bin/lttng/commands/track-untrack.c
b/src/bin/lttng/commands/track-untrack.c
index d9e18c1d68f76ac055f3164038d155a5a7561c57..154501e597ab56a6de266447be1f6c995235efc3 100644
(file)
--- a/
src/bin/lttng/commands/track-untrack.c
+++ b/
src/bin/lttng/commands/track-untrack.c
@@
-149,7
+149,7
@@
int parse_pid_string(const char *_pid_string,
goto error;
}
- /*
Copy
*/
+ /*
Reparse string and populate the pid list.
*/
count = 0;
one_pid_str = strtok_r(pid_string, ",", &iter);
while (one_pid_str != NULL) {
This page took
0.023322 seconds
and
4
git commands to generate.