[PATCH 6.6 130/208] tracing: Consider the NULL character when validating the event length