projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix off-by-one in marker id test
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
tracefile.c
diff --git
a/ltt/branches/poly/ltt/tracefile.c
b/ltt/branches/poly/ltt/tracefile.c
index 097e9d2e54dfe54aa049fafd2c1ae90b883a7808..5ce20f2ff43af81f5cc696d54259f26f846e3871 100644
(file)
--- a/
ltt/branches/poly/ltt/tracefile.c
+++ b/
ltt/branches/poly/ltt/tracefile.c
@@
-1874,6
+1874,7
@@
int ltt_tracefile_read_update_event(LttTracefile *tf)
pos += sizeof(guint16);
} else {
/* Compact event */
+ event->event_size = 0xFFFF;
}
if (a_event_debug)
@@
-2113,6
+2114,7
@@
void ltt_update_event_size(LttTracefile *tf)
}
info = marker_get_info_from_id(tf->trace, tf->event.event_id);
+
if (tf->event.event_id >= MARKER_CORE_IDS)
g_assert(info != NULL);
This page took
0.023516 seconds
and
4
git commands to generate.