Permalink
Browse files

avoid leaking temp file info in error message (#4703)

  • Loading branch information...
tbonfort committed Jul 27, 2013
1 parent 06b73b3 commit 578424b7c37385cbd0b206d436e50526c1c59e24
Showing with 2 additions and 2 deletions.
  1. +1 −1 mapogcsld.c
  2. +1 −1 msautotest
View
@@ -90,7 +90,7 @@ int msSLDApplySLDURL(mapObj *map, char *szURL, int iLayer,
unlink(pszSLDTmpFile);
}
} else {
msSetError(MS_WMSERR, "Could not open SLD %s and save it in temporary file %s. Please make sure that the sld url is valid and that the temporary path is set. The temporary path can be defined for example by setting TMPPATH in the map file. Please check the MapServer documentation on temporary path settings.", "msSLDApplySLDURL", szURL, pszSLDTmpFile);
msSetError(MS_WMSERR, "Could not open SLD %s and save it in a temporary file. Please make sure that the sld url is valid and that the temporary path is set. The temporary path can be defined for example by setting TMPPATH in the map file. Please check the MapServer documentation on temporary path settings.", "msSLDApplySLDURL", szURL);
}
if (pszSLDbuf)
nStatus = msSLDApplySLD(map, pszSLDbuf, iLayer, pszStyleLayerName, ppszLayerNames);
Submodule msautotest updated from 0060e6 to e1120b

0 comments on commit 578424b

Please sign in to comment.