id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
3616,Integer overflow in Java bindings for huge image reading,ehouzay,hobu,"It's impossible to read huge images using Java binding (and quite sure other binding even if I don't test it). Integer overflow exception error comes in the console.

This error comes from SWIG and internal buffer size control. 

Image size are computes as integer leading to integer overflow with big images.

Have a look in Dataset.i in swig/include...


{{{
int ComputeDatasetRasterIOSize (int buf_xsize, int buf_ysize, int nPixelSize,
                                int nBands, int* bandMap, int nBandMapArrayLength,
                                int nPixelSpace, int nLineSpace, int nBandSpace,
                                int bSpacingShouldBeMultipleOfPixelSize );
}}}



",defect,closed,normal,,SWIG (all bindings),unspecified,major,invalid,,
