[PATCH 4.19 11/88] thermal: core: prevent potential string overflow