osPlanning / omx

Open Matrix (OMX)
https://github.com/osPlanning/omx/wiki
Apache License 2.0
49 stars 18 forks source link

Python API overflow on zone number from unsigned short #16

Closed danielflorian closed 9 years ago

danielflorian commented 9 years ago

Guys, we just had a user repro an overflow on zone number (he had zone #'s > 65535) when used in a mapping from Python. Looks like the unsigned short being used in createMapping() at omx/File.py line 173.

... mymap = self.createArray(self.root.lookup, title, atom=tables.UInt16Atom(), ...