OpenMW/openmw — pull request #402 by EmperorArthur (2014-12-12 07:09:27+00:00)
Title: Nif error handling

Ever had a bad/corrupted nif file?

In the past openmw would try to read strings of ridiculously long lengths. Now it checks to see if the string is stupidly large before trying to read it. This prevents the game from hanging, and finally failing to read an item with an out of memory error.

It also kindly tells you what the version string is if there's a problem with that.