Hi,

We have identified some situations, where we get division by 0.
It works OK with win32, but in Win64 we get an exception and a partial 
file only.

The problem is in line 1054-1055 in mitab_mapindexblock.cpp:

We have fixed it by adding this line of code:
    if (nSrcWidth == 0)
        dX = 0;
    else

and

    if (nSrcHeight == 0)
        dY = 0;
    else

Can Daniel Morissette confirm if the change is OK and if we should 
update the file in this repository:
http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/mitab
Assuming we are able to create a userid.

Actually, we are not entirely certain where the master is kept, but it 
looks like this one.

Kind regards
Uffe Kousgaard



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mitab/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/mitab/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://info.yahoo.com/legal/us/yahoo/utos/terms/

Reply via email to