projects
/
ust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc46f6e
)
null check for disable_marker
author
Douglas Santos
<douglas.santos@polymtl.ca>
Fri, 10 Sep 2010 21:28:55 +0000
(23:28 +0200)
committer
Nils Carlson
<nils.carlson@ericsson.com>
Mon, 13 Sep 2010 12:30:31 +0000
(14:30 +0200)
Signed-off-by: Douglas Santos <douglas.santos@polymtl.ca>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/tracectl.c
patch
|
blob
|
blame
|
history
diff --git
a/libust/tracectl.c
b/libust/tracectl.c
index f1b644cc45b29aa741deae84b9307f2f4bcef705..dd61ebe7f7521cb2d6e79eff7592584b14a8c883 100644
(file)
--- a/
libust/tracectl.c
+++ b/
libust/tracectl.c
@@
-1064,7
+1064,9
@@
int process_client_cmd(char *recvbuf, struct ustcomm_source *src)
result = sscanf(channel_slash_name, "%a[^/]/%as", &channel_name, &marker_name);
- if(marker_name == NULL) {
+ if(channel_name == NULL || marker_name == NULL) {
+ WARN("invalid marker name");
+ goto next_cmd;
}
result = ltt_marker_disconnect(channel_name, marker_name, "default");
This page took
0.025257 seconds
and
4
git commands to generate.