shapelib/CVE-2022-0699.patch
phluo c8d0cd4690 Fix CVE-2022-0699
reset author
2022-08-17 18:35:48 +08:00

11 lines
256 B
Diff

--- a/contrib/shpsort.c 2022-08-17 14:48:59.276669116 +0800
+++ b/contrib/shpsort.c 2022-08-17 14:49:22.836834517 +0800
@@ -279,7 +279,6 @@
free(result[--i]);
}
free(result);
- free(copy);
return NULL;
}
result = tmp;