projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: lttng-live: ctf_live_packet_seek stream hang up handling
[babeltrace.git]
/
formats
/
lttng-live
/
lttng-live-comm.c
diff --git
a/formats/lttng-live/lttng-live-comm.c
b/formats/lttng-live/lttng-live-comm.c
index 96817f5e170d65e02d310d0e9abc0bc224283c9f..484c025d2d5f0be04a803fa08ac5389e34dc3db0 100644
(file)
--- a/
formats/lttng-live/lttng-live-comm.c
+++ b/
formats/lttng-live/lttng-live-comm.c
@@
-1276,7
+1276,11
@@
retry:
cur_index->packet_size, cur_index->offset,
cur_index->content_size,
cur_index->ts_cycles.timestamp_end);
-
+ if (cur_index->offset == EOF) {
+ pos->offset = EOF;
+ ret = -BT_PACKET_SEEK_ERROR;
+ goto end;
+ }
}
/*
This page took
0.024624 seconds
and
4
git commands to generate.