shapelib/CVE-2022-0699.patch
phluo d2a667afb9 Fix CVE-2022-0699
reset author

(cherry picked from commit c8d0cd4690dd7f9b751be875650951fb00bf750c)
2022-08-17 18:47:49 +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;