projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix babeltrace-log uninitialized memory (v2)
[babeltrace.git]
/
converter
/
babeltrace-log.c
diff --git
a/converter/babeltrace-log.c
b/converter/babeltrace-log.c
index 6ac94e69236c3cb7f29d806aa0369b63bf5b2d4b..7f31d015226548969abfa515046ece454732dce9 100644
(file)
--- a/
converter/babeltrace-log.c
+++ b/
converter/babeltrace-log.c
@@
-230,6
+230,7
@@
void trace_text(FILE *input, int output)
char *line = NULL, *nl;
size_t linesize;
+ memset(&pos, 0, sizeof(pos));
ctf_init_pos(&pos, output, O_RDWR);
write_packet_header(&pos, s_uuid);
This page took
0.024653 seconds
and
4
git commands to generate.