andyvand / pefile

Automatically exported from code.google.com/p/pefile
Other
0 stars 0 forks source link

Error in return/parse FileVersion in StringTable #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. a = pefile.PE('DHTMLED.OCX')
2. a.dump_info()

What is the expected output? What do you see instead?
As  FileVersion we expect 6.1.0.9212, i got instead 6.01.9212

What version of the product are you using? On what operating system?
1.2.8 on Ubuntu 7.04

Please provide any additional information below.
I attach the pe file to reproduce bug.

Original issue reported on code.google.com by roberto....@gmail.com on 25 Feb 2008 at 2:39

Attachments:

GoogleCodeExporter commented 9 years ago
Why do you expect 6.1.0.9212 instead of 6.01.9212?

The value is a Unicode string within the file, pefile is not doing any parsing 
to compose the version number. Is 
there any other tool that reports a different value for the same file?

Original comment by ero.carr...@gmail.com on 26 Feb 2008 at 5:22

GoogleCodeExporter commented 9 years ago
I'm expecting 6.1.0.9212 because it is the value obtained parsing FileVersionLS 
and
FileVersionMS and because windows file manager show it as file version.

But if the value printed is a Unicode string, it must be an error into ocx file
description..

Original comment by roberto....@gmail.com on 26 Feb 2008 at 10:07

GoogleCodeExporter commented 9 years ago
Yeah, it's strange but that's what the string is. I'll close this issue, if you 
get some more info about it we can 
reopen it if needed.

Original comment by ero.carr...@gmail.com on 28 Feb 2008 at 9:42