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