Open GoogleCodeExporter opened 9 years ago
I found problem and fix it. At DirEntry.as file, on line 96. Every time 4 bytes
reading, it doen't check len value. In my tif sample, Oracle database write 01
hex value on emty bytes. I limit reading bytes with len value.
Old lines:
----------
lValOff = uint(bytes[offset+i+8]);
lValOff+= (uint(bytes[offset+i+9])<<8);
lValOff+= (uint(bytes[offset+i+10])<<(8*2));
lValOff+= (uint(bytes[offset+i+11])<<(8*3));
New lines:
----------
lValOff = 0;
for(var m:int=0; m<len; m++) {
lValOff += uint(bytes[offset+i+8+m]<<(8*m));
}
I attach correct file to message.
Original comment by mkys...@gmail.com
on 4 May 2011 at 11:22
Attachments:
Maybe some people need full package.
Original comment by mkys...@gmail.com
on 4 May 2011 at 11:31
Attachments:
Original issue reported on code.google.com by
mkys...@gmail.com
on 24 Apr 2011 at 9:33Attachments: