public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/geos] f44: Revert "Backport fix for CVE-2026-137070"
Date: Fri, 27 Nov 2026 15:10:07 GMT [thread overview]
Message-ID: <179579220799.1.15961900950377639303.rpms-geos-424484779a06@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-27 15:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179579220799.1.15961900950377639303.rpms-geos-424484779a06@fedoraproject.org \
--to=manisandro@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox