[PATCH OLK-6.6 1/2] tracing: Fix oob write in trace_seq_to_buffer()