fix segfault in PSD COS parser

I have an old PSD that was crashing when trying to open it in Krita, it seems that the COS parser reading invalid memory.

/AutoHyphenate true

would try to be parsed, it would match else if (c == 't') but then try to read rue into an uninitialized byte array.

Merge request reports

Loading