stable

php-maxminddb-1.14.0-1.fc45

FEDORA-2026-0e66c5d460 created by remi 2 months ago for Fedora 45

Version 1.14.0

  • Bounded the resources that the pure PHP decoder spends on a single lookup. A crafted database could nest data-section pointers to shared targets so that decoding one record cost exponential time and memory, or point many times at one large value so that the decoder copied far more data than the file holds. The decoder now follows the Reader Resource Limits section of the MaxMind DB specification. Each lookup is limited to 65,536 values, 512 levels of nesting, and 2 MiB of string and bytes payload.
  • Exceeding a limit throws an InvalidDatabaseException.
  • Opening a database whose metadata exceeds a limit throws the same exception.
  • A scalar that declares more than 16 bytes, the width of the widest fixed-width type, is rejected as invalid data.
  • The bundled libmaxminddb used by --with-maxminddb-bundled builds of the extension now applies the same decoder limits. The extension throws an InvalidDatabaseException when a lookup exceeds them.
  • The pure PHP reader is about 40% faster on City lookups. It no longer seeks before a read that continues where the last one ended, and it checks read lengths with strlen() instead of ftell().
  • Replaced XtOffsetOf() with offsetof(). The XtOffsetOf() alias has been removed in PHP 8.6. Pull request by Remi Collet. GitHub #252.
  • The conflict constraint on ext-maxminddb in composer.json is again updated when a release is cut. The substitution that maintains it stopped matching in April 2024, when the constraint's separator changed from a comma to ||, so the constraint has read <1.11.1 through four releases. Users of the C extension should note the effect of reviving it: ext-maxminddb is a Composer platform package, so this release conflicts with an older compiled extension and composer update will require upgrading the two together. GitHub #266.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2026-0e66c5d460

This update has been submitted for testing by remi.

2 months ago

This update's test gating status has been changed to 'ignored'.

2 months ago

This update has been pushed to testing.

2 months ago

This update has been submitted for stable by bodhi.

2 months ago

This update has been pushed to stable.

2 months ago

Please log in to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
7 days
Dates
submitted
2 months ago
in testing
2 months ago
in stable
2 months ago
approved
2 months ago

Automated Test Results