projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: crash when sending data_pending to an active session
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
client.cpp
diff --git
a/src/bin/lttng-sessiond/client.cpp
b/src/bin/lttng-sessiond/client.cpp
index 90ab4cdc02a38aef1aff28f4bfc1b7953f8d1421..a89c61e9c54d166a1eb106d202ffba5d9c699775 100644
(file)
--- a/
src/bin/lttng-sessiond/client.cpp
+++ b/
src/bin/lttng-sessiond/client.cpp
@@
-1948,12
+1948,12
@@
skip_domain:
* ret will be set to LTTNG_OK at the end of
* this function.
*/
* ret will be set to LTTNG_OK at the end of
* this function.
*/
- } else if (pending_ret <
0
) {
+ } else if (pending_ret <
= LTTNG_OK || pending_ret >= LTTNG_ERR_NR
) {
ret = LTTNG_ERR_UNK;
ret = LTTNG_ERR_UNK;
- goto
setup_
error;
+ goto error;
} else {
ret = pending_ret;
} else {
ret = pending_ret;
- goto
setup_
error;
+ goto error;
}
pending_ret_byte = (uint8_t) pending_ret;
}
pending_ret_byte = (uint8_t) pending_ret;
This page took
0.024521 seconds
and
4
git commands to generate.