Fix: Use the packet's final size when mmap-ing the next packet
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Oct 2013 17:23:18 +0000 (13:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 31 Oct 2013 13:17:39 +0000 (09:17 -0400)
commite0a5b455a6cf824c343fe094a1f75f2565eabb5f
treee7a38aaf69092e658fd371f4811d618447943fc4
parent9a7312d380ce32824cb0856ef1333f9fa3b9f77f
Fix: Use the packet's final size when mmap-ing the next packet

ctf_packet_seek() assumed that a packet would be of fixed size
"WRITE_PACKET_LEN" when seeking to the next packet in write mode.
This ensures that the real size used.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/ctf.c
This page took 0.025477 seconds and 4 git commands to generate.