public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/geos] f44: Revert "Backport fix for CVE-2026-137070"
@ 2026-11-27 15:10 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-11-27 15:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/geos
Branch : f44
Commit : 424484779a06fdd3fb95f632e70d11882e563c43
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-11-27T16:09:52+01:00
Stats : +1/-58 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/geos/c/424484779a06fdd3fb95f632e70d11882e563c43?branch=f44
Log:
Revert "Backport fix for CVE-2026-137070"
This reverts commit d4045b92a1f18f0bd9c07adbbea5acf76b396a9b.
---
diff --git a/CVE-2026-137070.patch b/CVE-2026-137070.patch
deleted file mode 100644
index 73253a1..0000000
--- a/CVE-2026-137070.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -rupN --no-dereference geos-3.14.1/src/operation/predicate/RectangleContains.cpp geos-3.14.1-new/src/operation/predicate/RectangleContains.cpp
---- geos-3.14.1/src/operation/predicate/RectangleContains.cpp 2025-10-27 16:13:40.000000000 +0100
-+++ geos-3.14.1-new/src/operation/predicate/RectangleContains.cpp 2026-11-27 12:43:36.318343166 +0100
-@@ -24,6 +24,7 @@
- #include <geos/geom/LineString.h>
- #include <geos/geom/Coordinate.h>
- #include <geos/geom/CoordinateSequence.h>
-+#include <geos/util.h>
-
- using namespace geos::geom;
-
-@@ -34,6 +35,8 @@ namespace predicate { // geos.operation.
- bool
- RectangleContains::contains(const Geometry& geom)
- {
-+ util::ensureNoCurvedTypes(geom);
-+
- if(! rectEnv.contains(geom.getEnvelopeInternal())) {
- return false;
- }
-diff -rupN --no-dereference geos-3.14.1/tests/unit/geom/prep/PreparedGeometryTest.cpp geos-3.14.1-new/tests/unit/geom/prep/PreparedGeometryTest.cpp
---- geos-3.14.1/tests/unit/geom/prep/PreparedGeometryTest.cpp 2025-10-27 16:13:40.000000000 +0100
-+++ geos-3.14.1-new/tests/unit/geom/prep/PreparedGeometryTest.cpp 2026-11-27 12:43:36.318561562 +0100
-@@ -3,6 +3,7 @@
-
- // tut
- #include <tut/tut.hpp>
-+#include <tut/tut_macros.hpp>
- #include <utility.h>
- // geos
- #include <geos/geom/prep/PreparedGeometryFactory.h>
-@@ -99,5 +100,18 @@ void object::test<3>
- ensure( pg1->contains(g2.get()) );
- }
-
-+template<>
-+template<>
-+void object::test<4>()
-+{
-+ set_test_name("CircularString contained in Polygon");
-+
-+ g1 = reader.read("POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))");
-+ g2 = reader.read("CIRCULARSTRING (1 5, 5 1, 9 5)");
-+
-+ pg1 = prep::PreparedGeometryFactory::prepare(g1.get());
-+
-+ ensure_THROW(pg1->contains(g2.get()), geos::util::GEOSException);
-+}
-
- } // namespace tut
diff --git a/geos.spec b/geos.spec
index a452483..6c2c9ae 100644
--- a/geos.spec
+++ b/geos.spec
@@ -8,17 +8,13 @@
Name: geos
Version: 3.14.1
-Release: 3%{?dist}
+Release: 2%{?dist}
Summary: GEOS is a C++ port of the Java Topology Suite
License: LGPL-2.1-only
URL: http://trac.osgeo.org/geos/
Source0: http://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2
-# Backport fix for CVE-2026-137070
-# https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5
-Patch0: CVE-2026-137070.patch
-
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc-c++
@@ -165,9 +161,6 @@ rm -f %{buildroot}%{mingw64_bindir}/geos-config
%changelog
-* Fri Nov 27 2026 Sandro Mani <manisandro@gmail.com> - 3.14.1-3
-- Backport fix for CVE-2026-137070
-
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 15:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 15:10 [rpms/geos] f44: Revert "Backport fix for CVE-2026-137070" Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox