Uploaded patch based on reporter's suggestion
http://bugs.freepascal.org/view.php?id=25682
[FPC] Exception parsing resourcestream in unit
versionresource:TVersionResource.ReadVarFileInfo
which fixes the issue as demonstrated by the test program.
Would appreciate an fpc dev to have a look...
Thanks,
Reinier
