[mapserver-commits] [mapserver/mapserver] 4cb057: Fix segfault on WFS filters with empty literals (P...
GitHub
noreply at github.com
Sun Nov 27 16:04:39 PST 2016
Branch: refs/heads/branch-7-0
Home: https://github.com/mapserver/mapserver
Commit: 4cb057c7ae2d141ae00c91d15c9a7d3a5fbf23b6
https://github.com/mapserver/mapserver/commit/4cb057c7ae2d141ae00c91d15c9a7d3a5fbf23b6
Author: Even Rouault <even.rouault at spatialys.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M mapogcfilter.c
M mapogcfilter.h
M mapogr.cpp
M mappostgis.c
M mapserver.h
M mapwfs.c
M msautotest/wxs/data/db.sqlite
A msautotest/wxs/expected/wfs_filter_postgis_property_is_equal_empty.xml
A msautotest/wxs/expected/wfs_filter_postgis_property_is_null_result.xml
A msautotest/wxs/expected/wfs_filter_postgis_property_is_null_zero_result.xml
A msautotest/wxs/expected/wfs_ogr_native_sql_40.xml
M msautotest/wxs/wfs_filter_postgis.map
M msautotest/wxs/wfs_ogr_native_sql.map
Log Message:
-----------
Fix segfault on WFS filters with empty literals (PostGIS + Spatialite). Implement PropertyIsNull for those layers (#5347)
The PropertyIsNull is handled through a hack that consists in emulating it as a
PropertyIsEqualTo "_MAPSERVER_NULL_" comparison. This is only done for PostGIS and
Spatialite layers.
CREDITS: Funded by:
Regione Toscana - Settore Sistema Informativo Territoriale ed
Ambientale (CIG: 644544015A)
Commit: a7e84e7dec2a96f20548151854fae08e818cb698
https://github.com/mapserver/mapserver/commit/a7e84e7dec2a96f20548151854fae08e818cb698
Author: Even Rouault <even.rouault at mines-paris.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M mapogcfilter.c
M mapogcfilter.h
M mapogr.cpp
M mappostgis.c
M mapserver.h
M mapwfs.c
M msautotest/wxs/data/db.sqlite
A msautotest/wxs/expected/wfs_filter_postgis_property_is_equal_empty.xml
A msautotest/wxs/expected/wfs_filter_postgis_property_is_null_result.xml
A msautotest/wxs/expected/wfs_filter_postgis_property_is_null_zero_result.xml
A msautotest/wxs/expected/wfs_ogr_native_sql_40.xml
M msautotest/wxs/wfs_filter_postgis.map
M msautotest/wxs/wfs_ogr_native_sql.map
Log Message:
-----------
Merge pull request #5354 from rouault/fix_5347
Fix segfault on WFS filters with empty literals (PostGIS + Spatialite). Implement PropertyIsNull for those layers (#5347)
Compare: https://github.com/mapserver/mapserver/compare/1d7da7605529...a7e84e7dec2a
More information about the mapserver-commits
mailing list