Skip to content

Commit

Permalink
libmaxminddb: update to 1.12.2.
Browse files Browse the repository at this point in the history
## 1.12.2 - 2025-01-10

* `MMDB_get_entry_data_list()` now always sets the passed `entry_data_list`
  parameter to either `NULL` or valid memory. This makes it safe for
  callers to use `MMDB_free_entry_data_list()` on it even in case of error.
  In 1.12.0 `MMDB_get_entry_data_list()` was changed to not set this
  parameter to valid memory in additional error cases. That change caused
  segfaults for certain libraries that assumed it was safe to free memory
  on error. Doing so was never safe, but worked in some cases. This change
  makes such calls safe. Reported by Petr Pisar. GitHub
  maxmind/MaxMind-DB-Reader-XS#39.

## 1.12.1 - 2025-01-08

* Added missing `cmake_uninstall.cmake.in` to the source distribution. This
  was missing from 1.12.0, causing CMake builds to fail. Reported by Marcel
  Raad. GitHub TritonDataCenter#367.

## 1.12.0 - 2025-01-07

* Fixed memory leaks in `MMDB_open()`. These could happen with invalid
  databases or in error situations such as failing to allocate memory. As
  part of the fix, `MMDB_get_entry_data_list()` now frees memory it
  allocates on additional errors. Previously it failed to clean up when
  certain errors occurred. Pull request by pkillarjun. GitHub TritonDataCenter#356.
* There is now a build target to fuzz the library. Pull request by
  pkillarjun. GitHub TritonDataCenter#357.
* Updated `cmake_minimum_required` to a version range to quiet deprecation
  warnings on new CMake versions. Reported by gmou3. GitHub TritonDataCenter#359.
* The script for generating man pages no longer uses `autodie`. This
  eliminates the dependency on `IPC::System::Simple`. Reported by gmou3.
  GitHub TritonDataCenter#359.
* An uninstall target is now included for CMake. Pull request by gmou3.
  GitHub TritonDataCenter#362.
  • Loading branch information
0-wiz-0 committed Jan 12, 2025
1 parent 6ab9c4f commit 90f92b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions geography/libmaxminddb/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.15 2024/08/25 10:11:22 wiz Exp $
# $NetBSD: Makefile,v 1.16 2025/01/12 10:19:18 wiz Exp $

DISTNAME= libmaxminddb-1.11.0
DISTNAME= libmaxminddb-1.12.2
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=maxmind/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
Expand Down
8 changes: 4 additions & 4 deletions geography/libmaxminddb/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.14 2024/08/25 10:11:22 wiz Exp $
$NetBSD: distinfo,v 1.15 2025/01/12 10:19:18 wiz Exp $

BLAKE2s (libmaxminddb-1.11.0.tar.gz) = 8056ae237ee10e5fb7f26574f66d210b7c6e19012a4e3a75a5d98ef0071f59fd
SHA512 (libmaxminddb-1.11.0.tar.gz) = ecb7e1d8c89f1f0f018abcfb9ac7071f36e40ab5b12ecb1ded3b66db69dbe830792f6497aca9ca8c79ecfe47db7fa5dccf20714f06c49b93a69389b91e006b46
Size (libmaxminddb-1.11.0.tar.gz) = 727863 bytes
BLAKE2s (libmaxminddb-1.12.2.tar.gz) = a95937de9e6ab8f9e15028080f1aca62de945c5acc995213543f65ef0afa9f6d
SHA512 (libmaxminddb-1.12.2.tar.gz) = 263e7f7901b450ac0b7fa95887ade3b2725bc794360ce6fc27ebfe06f025b7670d9e5f9a208f99073d32b673993d810f0bcee510027e4d2e87ba3c38d75036fe
Size (libmaxminddb-1.12.2.tar.gz) = 730768 bytes

0 comments on commit 90f92b7

Please sign in to comment.