Opened 18 years ago
#1702 new defect
Possible lost of file handles in tile / shapefile layer if mapserver encounter an error rendering them.
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | arovira@… |
Description
I found several errors in mapshape.c that can compromise mapscript servers when there is corrupt data: In function msSHPOpen() if there is an error opening .shx file the .shp file is not closed. In function msSHPOpenFile() if there is an error opening .dbf file the .shp and .shx files are not closed. When in a tiled shapefile msSHPWhichShapes() returns MS_DONE (this can occur if the reported tileindex shapefile extension is diferent from the tiled shapefile) the shapefile is left open.
Note:
See TracTickets
for help on using tickets.