Skip to content

Releases: maxmind/libmaxminddb

1.9.1

10 Jan 00:18
e26013e
Compare
Choose a tag to compare
  • SSIZE_MAX is now defined conditionally on Windows. The 1.9.0
    release would cause a redefinition warning when compiled with MinGW.
    Reported by Andreas Vögele. GitHub #338.

1.9.0

09 Jan 19:42
c796899
Compare
Choose a tag to compare
  • 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

07 Nov 18:22
93a7e0e
Compare
Choose a tag to compare
  • PACKAGE_VERSION is now a private compile definition when building
    with CMake. Pull request by bsergean. GitHub #308.
  • PACKAGE_VERSION is no longer defined in maxminddb.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

30 Sep 21:52
ac4d0d2
Compare
Choose a tag to compare
  • The external symbols test now only runs on Linux. It assumes a Linux
    environment. Reported by Carlo Cabrera. GitHub #304.

1.7.0

28 Sep 21:32
ac30fac
Compare
Choose a tag to compare
  • FD_CLOEXEC is now set on platforms that do not support O_CLOEXEC.
    Reported by rittneje. GitHub #273.
  • When building with Visual Studio, you may now build a static runtime with
    CMake by setting MSVC_STATIC_RUNTIME to ON. 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

29 Apr 17:12
2d0e6b7
Compare
Choose a tag to compare
  • 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 and CMAKE_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.

1.5.2

18 Feb 17:05
Compare
Choose a tag to compare
  • With libmaxminddb on Windows and mmdblookup generally, there were
    instances where the return value of calloc was not checked, which could
    lead to issues in low memory situations or when resource limits had been
    set. Reported by cve-reporting. GitHub #252.

1.5.1

18 Feb 15:23
822c2cf
Compare
Choose a tag to compare
  • The formatting of the manpages has been improved and the script that
    generates them now supports lowdown in addition to pandoc. Pull request
    by Faidon Liambotis. GitHub #248.

1.5.0

05 Jan 22:57
Compare
Choose a tag to compare
  • A CMake build script has been added for Windows builds. The Visual
    Studio project files in projects are now considered deprecated and will
    be removed in a future release.

1.4.3

06 Aug 16:28
Compare
Choose a tag to compare
  • On Windows, always call CreateFileW instead of CreateFile.
    CreateFile could be mapped to CreateFileA 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 in mmdblookup. As part of this fix, most uses
    of malloc were replaced with calloc. Reported by azhou. GitHub #236.