[PATCH 5.9 030/152] trace: fix potenial dangerous pointer