Terry O'Neill - 2016-03-16

The issue turned out to be in the ProjectCompObj class. This class is used by the guessing to see if the file is a Microsoft Project file. The problem with the class is that it assumes that the file is, and at a few points looks for 4 byte fields representing the length of the next field. As the maximum size of a 4 byte integer can be very high, in the case of files that are not Microsoft Project files or corrupt Microsoft Project files then an attempt to get too high an amount of memory can result. To fix this I have set the maximum field size to 1024 bytes. If the field is large than this the object simply returns, guessing that the file is not a Microsoft Project file.

This change is on the testing branch. This change updates the version of the project plugin from 2.3.1 to 2.3.2.