diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ecea67..8ef0dab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/plugin.cpp b/plugin.cpp index b1f5413..d416299 100644 --- a/plugin.cpp +++ b/plugin.cpp @@ -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; } diff --git a/version.hpp b/version.hpp index 5589f67..bff7300 100644 --- a/version.hpp +++ b/version.hpp @@ -1,6 +1,6 @@ #ifndef VERSION_HPP #define VERSION_HPP -#define VERSION "v1.32.0" +#define VERSION "v1.32.1" #endif