Permalink
Browse files

Fix segfault in ms_newMapObjFromString (PHP/MapScript)

  • Loading branch information...
1 parent 1463983 commit dc3915db24d73d00e188c0537476eac6639853a6 Alan Boudreault committed Jun 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapscript/php/php_mapscript.c
@@ -169,7 +169,7 @@ PHP_FUNCTION(ms_newMapObjFromString)
map = mapObj_newFromString(string, path);
if (map == NULL) {
- mapscript_throw_mapserver_exception("Failed to open map file \"%s\", or map file error." TSRMLS_CC, string);
+ mapscript_throw_mapserver_exception("Error while loading map file from string." TSRMLS_CC);
return;
}

0 comments on commit dc3915d

Please sign in to comment.