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