Mike, I have found another way to trigger the condition that was described in STR #3867. The reason is a special handling of the first code in LZW streams, somewhat related to STR #3869. Few other implementations that do not have stack overflow check in the while loop seem to handle this case by checking the first code is < 256.
Test case attached.
The text was updated successfully, but these errors were encountered: