mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-24 02:41:15 +00:00
Fix out-of-bounds array reference
This commit is contained in:
parent
3f0cd8bb6d
commit
76582d0e49
@ -448,7 +448,7 @@ void layer_to_geojson(mvt_layer const &layer, unsigned z, unsigned x, unsigned y
|
||||
mvt_value const &val = layer.decode_property(feat.properties, t);
|
||||
|
||||
state.json_write_string(key);
|
||||
print_val(feat, layer, val, feat.properties[t + 1], state);
|
||||
print_val(feat, layer, val, 0, state);
|
||||
}
|
||||
|
||||
state.json_end_hash();
|
||||
|
Loading…
x
Reference in New Issue
Block a user