Releases: maxmind/libmaxminddb
Releases · maxmind/libmaxminddb
1.9.1
1.9.0
- On very large databases, the calculation to determine the search tree
size could overflow. This was fixed and several additional guards
against overflows were added. Reported by Sami Salonen. GitHub #335. - Removed
sa_family_t
typedef from the public header on Windows. Pull
request by Noah Treuhaft. GitHub #334. - The CMake build was adjusted to allow running builds in parallel.
Pull request by Vladyslav Miachkov. GitHub #332.
1.8.0
PACKAGE_VERSION
is now a private compile definition when building
with CMake. Pull request by bsergean. GitHub #308.PACKAGE_VERSION
is no longer defined inmaxminddb.h
on
Windows.- The feature test macro
_POSIX_C_SOURCE
is no longer set by
maxminddb.h
. As discussed in GitHub #318, this should be set by
applications rather than by libraries. assert()
is no longer used outside test code.- The deprecated Visual Studio 12 project files in the
projects/
directory have been removed. CMake should be used when building on
Windows.
1.7.1
1.7.0
FD_CLOEXEC
is now set on platforms that do not supportO_CLOEXEC
.
Reported by rittneje. GitHub #273.- When building with Visual Studio, you may now build a static runtime with
CMake by settingMSVC_STATIC_RUNTIME
toON
. Pull request by Rafael
Santiago. GitHub #269. - The CMake build now works on iOS. Pull request by SpaceIm. GitHub #271.
- The CMake build now uses the correct library directory on Linux systems
using alternate directory structures. Pull request by Satadru Pramanik.
GitHub #284. - File size check now correctly compares the size to
SSIZE_MAX
. Reported
by marakew. GitHub #301.
1.6.0
- This release includes several improvements to the CMake build. In
particular:- C99 support is now properly enabled, fixing builds on older
gcc
versions. Pull request by Jan Včelák. GitHub #257. CMAKE_SHARED_LIBRARY_PREFIX
andCMAKE_STATIC_LIBRARY_PREFIX
are
no longer explicitly set and now use the default values for the platform.
Pull request by Jan Včelák. GitHub #258.target_include_directories
now works as expected. Pull request by Jan
Včelák. GitHub #259.- DLLs are now installed on Windows when
libmaxminddb
is built as a
shared library. Pull request by Jan Včelák. GitHub #261. - When built as a dynamic library on Windows, all symbols are now exported.
Pull request by Jan Včelák. GitHub #262.
- C99 support is now properly enabled, fixing builds on older
1.5.2
1.5.1
1.5.0
1.4.3
- On Windows, always call
CreateFileW
instead ofCreateFile
.
CreateFile
could be mapped toCreateFileA
and not work as expected.
Pull request by Sandu Liviu Catalin. GitHub #228. - Fixed use of uninitialized memory in
dump_entry_data_list()
that could
cause a heap buffer flow inmmdblookup
. As part of this fix, most uses
ofmalloc
were replaced withcalloc
. Reported by azhou. GitHub #236.