[mapserver-commits] [MapServer/MapServer] c369e5: Fix GetMetadata possible buffer overrun (#6823)
Seth G
noreply at github.com
Tue Feb 7 09:13:15 PST 2023
Branch: refs/heads/main
Home: https://github.com/MapServer/MapServer
Commit: c369e54ad4517d897e1cabab1926e8ded95bc56f
https://github.com/MapServer/MapServer/commit/c369e54ad4517d897e1cabab1926e8ded95bc56f
Author: Seth G <sethg at geographika.co.uk>
Date: 2023-02-07 (Tue, 07 Feb 2023)
Changed paths:
M CMakeLists.txt
M mapmetadata.c
M msautotest/mssql/expected/cluster_mssql_getmetadata.xml
M msautotest/wxs/expected/ows_metadata_empty_layer_param.xml
M msautotest/wxs/expected/ows_metadata_invalid_layer_param.xml
M msautotest/wxs/expected/ows_metadata_layer_raster.xml
M msautotest/wxs/expected/ows_metadata_layer_vector.xml
M msautotest/wxs/expected/ows_metadata_missing_layer_param.xml
Log Message:
-----------
Fix GetMetadata possible buffer overrun (#6823)
* Fix GetMetadata request
* Switch to xmlDocDumpFormatMemoryEnc
* Add UTF-8 tag
* Add encoding="UTF-8" to expected outputs
* Add charset=UTF-8
* Update search for vsnprintf
* Update CMakeLists.txt
Co-authored-by: Even Rouault <even.rouault at spatialys.com>
* Fix variable name
---------
Co-authored-by: Even Rouault <even.rouault at spatialys.com>
More information about the MapServer-commits
mailing list