public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libmaxminddb] f43: Upgrade to 1.14.0 (#2529974)
Date: Sat, 12 Sep 2026 20:32:56 GMT	[thread overview]
Message-ID: <178924517679.1.15570663181284355306.rpms-libmaxminddb-9a44b05c9d6d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libmaxminddb
Branch : f43
Commit : 9a44b05c9d6d16c09a3396fdf1eab4094fdf4501
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-09-12T22:31:56+02:00
Stats  : +35/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/libmaxminddb/c/9a44b05c9d6d16c09a3396fdf1eab4094fdf4501?branch=f43

Log:
Upgrade to 1.14.0 (#2529974)

---
diff --git a/libmaxminddb-1.14.0-uint64_t.patch b/libmaxminddb-1.14.0-uint64_t.patch
new file mode 100644
index 0000000..f08cd67
--- /dev/null
+++ b/libmaxminddb-1.14.0-uint64_t.patch
@@ -0,0 +1,27 @@
+From cd138a624187b8beff2febe57cc407aa652438b9 Mon Sep 17 00:00:00 2001
+From: Robert Scheck <robert-scheck@users.noreply.github.com>
+Date: Sat, 12 Sep 2026 22:14:48 +0200
+Subject: [PATCH] Fix signedness warning in data section size check (fixes
+ #486)
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+src/maxminddb.c:370:27: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Werror=sign-compare]
+---
+ src/maxminddb.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/maxminddb.c b/src/maxminddb.c
+index 634635b4..d9cc9c56 100644
+--- a/src/maxminddb.c
++++ b/src/maxminddb.c
+@@ -367,7 +367,7 @@ int MMDB_open(const char *const filename, uint32_t flags, MMDB_s *const mmdb) {
+     }
+     ssize_t data_section_size =
+         mmdb->file_size - search_tree_size - MMDB_DATA_SECTION_SEPARATOR;
+-    if (data_section_size > UINT32_MAX || data_section_size <= 0) {
++    if (data_section_size <= 0 || (uint64_t)data_section_size > UINT32_MAX) {
+         status = MMDB_INVALID_METADATA_ERROR;
+         goto cleanup;
+     }

diff --git a/libmaxminddb.spec b/libmaxminddb.spec
index 5919ea3..4fedb5a 100644
--- a/libmaxminddb.spec
+++ b/libmaxminddb.spec
@@ -1,12 +1,13 @@
 Summary:        C library for reading MaxMind DB files
 Name:           libmaxminddb
-Version:        1.13.3
-Release:        2%{?dist}
+Version:        1.14.0
+Release:        1%{?dist}
 # BSD-3-Clause (src/maxminddb-compat-util.h) and Apache-2.0 (the rest)
 License:        Apache-2.0 AND BSD-3-Clause
 URL:            https://maxmind.github.io/libmaxminddb/
 Source0:        https://github.com/maxmind/libmaxminddb/releases/download/%{version}/%{name}-%{version}.tar.gz
 Source1:        maxminddb_config.h
+Patch0:         https://github.com/maxmind/libmaxminddb/pull/487.patch#/libmaxminddb-1.14.0-uint64_t.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -41,7 +42,7 @@ The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 %prep
-%setup -q
+%autosetup -p1
 autoreconf --force --install
 
 %build
@@ -79,6 +80,9 @@ LD_PRELOAD=$RPM_BUILD_ROOT%{_libdir}/%{name}.so make check
 %{_mandir}/man3/MMDB_*.3*
 
 %changelog
+* Sat Sep 12 2026 Robert Scheck <robert@fedoraproject.org> 1.14.0-1
+- Upgrade to 1.14.0 (#2529974)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index fa41a15..43f3399 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libmaxminddb-1.13.3.tar.gz) = 62098af00e7a827c079f169a73f2b259bb3a20144a8d6a17e10f531a77fc836ddd7c93d73c10d775ea50aad134b2461aa2c81b6f7cd208cca7ef2956e4de0f31
+SHA512 (libmaxminddb-1.14.0.tar.gz) = 91a880d7c66c7b022915ceb6cf467515505666381178ac7713e52ac99d0c02fc57e43bf581b3fcb9fa5673c2fdb489b1d7964dbb3ea2f36a15961783490852d1

                 reply	other threads:[~2026-09-12 20:32 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=178924517679.1.15570663181284355306.rpms-libmaxminddb-9a44b05c9d6d@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --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