Skip to content

Commit

Permalink
Backport double free fix to epel7
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Muzyn committed Feb 6, 2023
1 parent f0a1a20 commit 2da90c5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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:
Expand Down Expand Up @@ -78,6 +78,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_bindir}/*

%changelog
* Mon Feb 06 2023 Chris Muzyn <chris.muzyn@gmail.com> - 1.3.0-3
- Backport double free fix to epel7

* Sun Apr 06 2014 Sandro Mani <manisandro@gmail.com> - 1.3.0-2
- Backport some fixes from the gdal bundled shapelib

Expand Down
8 changes: 8 additions & 0 deletions shapelib_backports.patch
Expand Up @@ -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;

0 comments on commit 2da90c5

Please sign in to comment.