[PATCH 5.10 032/110] tracing: Consider the NULL character when validating the event length