Compare commits

..

2 Commits

Author SHA256 Message Date
Ana Guerrero
6be7c0f834 Accepting request 1188838 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1188838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmaxminddb?expand=0&rev=12
2024-07-22 15:14:10 +00:00
b007a8c992 - update to 1.10.0:
* The reader can now lookup records on a database with a search
    tree that is greater than 4 gigabytes without sometimes
    returning erroneous results due to an integer overflow.

  * Four additional fields were added to the end of the
    MMDB_search_node_s struct returned by MMDB_read_node. These
    making undocumented assumptions about how this library works
    internally and without knowing the specific details of the database
  * Previously, reading a database with a pointer in the metadata would
    cause an MMDB_INVALID_METADATA_ERROR to be returned. This was due to
    an invalid offset being used when calculating the pointer. The
    data_section and metadata_section fields now both point to the
    beginning of the data section. Previously, data_section pointed
    to the beginning of the data separator. This will not affect
  * MMDB_lookup_sockaddr will set mmdb_error to
    MMDB_IPV6_LOOKUP_IN_IPV4_DATABASE_ERROR if an IPv6 sockaddr is
    looked up in an IPv4-only database. Previously only
  * When resolving an address, this library now relies on getaddrinfo
  * Packaging fixes. The 1.1.3 tarball release contained a lot of extra
    past the end of the databases's data section. GitHub #103
  * When searching for the database metadata, there was a bug that caused
    the code to think it had found valid metadata when none existed. In
    database entirely. Finally, if there are multiple metadata markers
    in the database, we treat the final one as the start of the metdata,
  * Don't attempt to mmap a file that is too large to be mmapped on the system.
  * Added a missing out of memory check when reading a file's metadata.
  * Added several additional checks to make sure that we never attempt
    to malloc more than SIZE_MAX memory, which would lead to integer
    overflow. This could only happen with pathological databases.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmaxminddb?expand=0&rev=31
2024-07-20 18:04:46 +00:00
4 changed files with 51 additions and 43 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e6db72df423ae225bfe8897069f6def40faa8931f456b99d79b8b4d664c6671
size 727713

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a80682a89d915fdf60b35d316232fb04ebf36fff27fda9bd39fe8a38d3cd3f12
size 612652

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jul 18 15:54:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.10.0:
* The reader can now lookup records on a database with a search
tree that is greater than 4 gigabytes without sometimes
returning erroneous results due to an integer overflow.
-------------------------------------------------------------------
Wed Jan 10 08:53:07 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -19,7 +19,7 @@
%define lname libmaxminddb0
Name: libmaxminddb
Version: 1.9.1
Version: 1.10.0
Release: 0
Summary: C library for the MaxMind DB file format
License: Apache-2.0