[mapserver-users] new ShapefileObj makes apache core dump
Vinko Vrsalovic B.
v at w.cl
Wed Oct 31 01:07:02 PST 2001
but only when the filename is not valid.
it makes little sense to pass a not valid filename, but it's not graceful
that Apache crashes over it.
( Took me 4 hours to catch the damn mistake :-) )
The line:
$shapefile = ms_newShapefileObj($file.".shp",-1);
If $file.".shp" does not exist, apache SIGSEGV's.
PHP 4.0.6, PHP/Mapscript 3.5 from a couple of weeks ago, apache 1.3.14
--
V. <v at w.cl>
More information about the MapServer-users
mailing list