Changes since 1.13.3:
- 1.14.0: bound the resources MMDB_get_entry_data_list() spends
decoding a single entry; a crafted database could previously make
decoding cost exponential time and memory. Calls are now limited to
65,536 values and 2 MiB of payload and return the new
MMDB_DECODER_LIMIT_ERROR status
- 1.14.1: fix a -Wsign-compare warning in MMDB_open() that broke
builds with -Werror where ssize_t is 32 bits
Release notes: https://github.com/maxmind/libmaxminddb/releases/tag/1.14.1
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Changelog:
- Fix MMDB_open incorrectly rejecting databases with 0-element
map/array fields at the end of metadata (v1.13.3)
- Fix compilation conflict with bswap32/bswap64 macros on macOS 26
Tahoe (v1.13.2)
- Fix validation and edge-case handling in database open path (v1.12.x)
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Jan Pavlinec <jan.pavlinec1@gmail.com> is no longer maintaining
these packages. Remove him from the PKG_MAINTAINER field across
all affected packages.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
libmaxminddb has switched to using CMAKE_INSTALL_PREFIX,
CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR for generating the
pkg-config in upstream commit [1] and thus broke pkg-config file
generation in openwrt.
It would generate:
prefix=/usr
exec_prefix=/usr
libdir=lib
includedir=include
Obviously libdir and includedirs are incorrect for OpenWrt and this
would then cause pdns compilation to fail if geoip backend was enabled
since it uses pkg-config to get the required flags and passing just
lib for LDFLAGS would cause libtool to error out since that path is not
valid.
So, lets use SED magic to replace libdir and includedir with the correct
paths, so now pkg-config looks like:
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include
[1] https://github.com/maxmind/libmaxminddb/commit/8b4bf0dec99bc248c36e49e0837efb749e7d46f6
Fixes: 9f7357880f ("libmaxminddb: update to 1.11.0")
Signed-off-by: Robert Marko <robimarko@gmail.com>