Fix null pointer crash when looking for feature extent in filter output

This commit is contained in:
Eric Fischer 2018-10-22 13:26:53 -07:00
parent e18748e29b
commit 0acdeef525
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
## 1.32.1
* Fix null pointer crash when reading filter output that does not
tag features with their extent
## 1.32.0
* Fix a bug that allowed coalescing of features with mismatched attributes

View File

@ -419,7 +419,7 @@ serial_feature parse_feature(json_pull *jp, int z, unsigned x, unsigned y, std::
}
json_object *extent = json_hash_get(tippecanoe, "extent");
if (extent != NULL && sequence->type == JSON_NUMBER) {
if (extent != NULL && extent->type == JSON_NUMBER) {
sf.extent = extent->number;
}

View File

@ -1,6 +1,6 @@
#ifndef VERSION_HPP
#define VERSION_HPP
#define VERSION "v1.32.0"
#define VERSION "v1.32.1"
#endif