Merge pull request #421 from mapbox/long-attributes

Fix crash with very long (>128K) attribute values
This commit is contained in:
Eric Fischer
2017-05-18 15:11:42 -07:00
committed by GitHub
5 changed files with 29 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
## 1.18.2
* Fix crash with very long (>128K) attribute values
## 1.18.1
* Only warn once about invalid polygons in tippecanoe-decode
+1 -1
View File
@@ -53,7 +53,7 @@ int memfile_write(struct memfile *file, void *s, long long len) {
return -1;
}
file->len += INCREMENT;
file->len += (len + INCREMENT + 1) / INCREMENT * INCREMENT;
if (ftruncate(file->fd, file->len) != 0) {
return -1;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
#define VERSION "tippecanoe v1.18.1\n"
#define VERSION "tippecanoe v1.18.2\n"