[PATCH openEuler-1.0-LTS 1/1] thermal: core: prevent potential string overflow