Some models may not have any skins defined (numSkins == 0 in the model info). This means that a zero-length skins[] array was allocated for the model. However, the fallback skin loader assumed there is at least skins0 is valid, overwriting random memory.
Fixed: Buffer overrun in model skin setup
Some models may not have any skins defined (numSkins == 0 in the model
info). This means that a zero-length skins[] array was allocated for
the model. However, the fallback skin loader assumed there is at least
skins0 is valid, overwriting random memory.