mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-08 03:50:25 +00:00
Fix null pointer crash when looking for feature extent in filter output
This commit is contained in:
parent
e18748e29b
commit
0acdeef525
@ -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
|
## 1.32.0
|
||||||
|
|
||||||
* Fix a bug that allowed coalescing of features with mismatched attributes
|
* Fix a bug that allowed coalescing of features with mismatched attributes
|
||||||
|
@ -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");
|
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;
|
sf.extent = extent->number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef VERSION_HPP
|
#ifndef VERSION_HPP
|
||||||
#define VERSION_HPP
|
#define VERSION_HPP
|
||||||
|
|
||||||
#define VERSION "v1.32.0"
|
#define VERSION "v1.32.1"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user