diff --git a/shapelib.spec b/shapelib.spec index 3b11671..24f2ede 100644 --- a/shapelib.spec +++ b/shapelib.spec @@ -1,6 +1,6 @@ Name: shapelib Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C library for handling ESRI Shapefiles # The core library is dual-licensed LGPLv2 or MIT. # Some contributed files have different licenses: @@ -78,6 +78,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_bindir}/* %changelog +* Mon Feb 06 2023 Chris Muzyn - 1.3.0-3 +- Backport double free fix to epel7 + * Sun Apr 06 2014 Sandro Mani - 1.3.0-2 - Backport some fixes from the gdal bundled shapelib diff --git a/shapelib_backports.patch b/shapelib_backports.patch index 29fbfea..b00248d 100644 --- a/shapelib_backports.patch +++ b/shapelib_backports.patch @@ -183,3 +183,11 @@ index 409134e..4fccfab 100644 return panResultBuffer; } +@@ -113,7 +113,6 @@ static char ** split(const char *arg, const char *delim) { + free(result[--i]); + } + free(result); +- free(copy); + return NULL; + } + result = tmp;