1.6.9: Fix a GeoIP_database_info regression

@rafl rafl released this Jan 11, 2016 · 14 commits to master since this release

  • Fix a regression introduced in version 1.6.8, which caused
    GeoIP_database_info to erroneously return NULL.


1.6.8: Improved thread-safety

@rafl rafl released this Jan 11, 2016 · 17 commits to master since this release

  • Allow compilation on older systems by relaxing the autoconf and automake
    minimum versions. Thank you, Jose Rubio!
  • Avoid potential problems in multi-threaded environments by consistently using
    pread() rather than read().
  • Fix various small issues reported by clang's static analyser.


1.6.7: Segfault Fix, More Safety Checks, Windows Fixes

@oschwald oschwald released this Oct 30, 2015 · 27 commits to master since this release

  • Fixed a MSVC parser stack overflow when parsing regionName.c and
    timeZone.c. Fix by elliotlo. GitHub #64.
  • Updated region codes and timezones.
  • When using GEOIP_MEMORY_CACHE with an invalid database file, the search
    tree traversal could attempt to read memory outside of the memory allocated
    for the memory cache, resulting in a segmentation fault. A check was added
    to ensure that the traversal code does not try to read beyond the end of the
    file, whether in memory, memory mapped, or on disk.
  • Previously the return values from file reads were ignored. We now check
    these values to ensure that there were no errors.


1.6.6: Bug Fixes and Improved Windows Support

@oschwald oschwald released this Jul 28, 2015 · 38 commits to master since this release

  • Replaced usage of deprecated fileno, read, and lseek on Visual Studio 2005+
    with their ISO C++ conformant replacements. (Fix by ClaudiuHKS. GitHub #55.)
  • A warning about using a double as a float was fixed. (Fix by ClaudiuHKS.
    GitHub #56.)
  • Fixed segfault when doing a lookup on an empty database. (Fix by NesoK.
    GitHub #62.)
  • Fixed a memcheck error from valgrind in the _check_mtime
    function. (Reported by yurivct. GitHub #60.)
  • Fixed _check_mtime to check the return value of gettimeofday rather than
    just assuming it worked.


1.6.5: Additional data validation

@oschwald oschwald released this Feb 25, 2015 · 57 commits to master since this release

  • A segmentation fault in geoiplookup was fixed when the utility was passed
    an invalid database. (Reported in Red Hat bug #1180874.)
  • Additional validation was added for validation of the size used in the
    creation of the index cache. (Based on discussion in Red Hat bug #832913.)
  • Changed the code to only look up country codes by using functions which
    ensure that we do not try to look past the end of an array. (Reported by
    Ivan Sorokin. GitHub #53)


1.6.4: Windows and Misc. Updates

@oschwald oschwald released this Jan 12, 2015 · 67 commits to master since this release

  • Update Fips codes (Boris Zentner)
  • Several issues with the MinGW build were fixed. (Thomas Pöchtrager. Github
  • Use a constructor in pread.c to ensure the critical section is always
    initialized. (Thomas Pöchtrager. Github #47.)
  • Added missing include of io.h on Windows. (Thomas Pöchtrager. Github #49.)
  • Fixed configure warning that 'missing' script is too old or missing.
    (Reported by Floren Munteanu. Github #33.)
  • Previously nmake /f Makefile.vc clean would fail on Windows. This was
  • Obsolete win32 and NetWare make files were removed.
  • Numerous documentation updates. (Reported by Thomas Pöchtrager. GitHub #48.)


1.6.3: Option to disable stderr output; bug fixes

@autarch autarch released this Oct 29, 2014 · 100 commits to master since this release

  • Added a GEOIP_SILENCE flag. Include this flag when calling GeoIP_open to
    prevent any messages from being written to stderr. ( Philip Prindeville
    and Boris Zentner )
  • Mitigate a possible race condition when running under threads in the
    GeoIP_cleanup function. ( Anthon Pang )
  • Added some recommendations to the docs on using this library in a
    threaded application. ( Boriz Zentner )
  • Fixed some bugs discovered by coverity, including failure to check some
    system call return values and making sure all strings are
    null-terminated. ( Boris Zentner )



@oschwald oschwald released this Jul 8, 2014 · 138 commits to master since this release

  • Two files required for building on Win32 were missing from the 1.6.1
    release. These files were added. There are no changes affecting other
    platforms. ( Boris Zentner )



@oschwald oschwald released this Jun 26, 2014 · 141 commits to master since this release

  • Improve Win32 support ( Evan Hunt )
  • Update FIPS codes ( Boris Zentner )


1.6.0: Removed geoipupdate

@oschwald oschwald released this Oct 29, 2013 · 157 commits to master since this release

  • The GeoIP Update program was move to its own repo and source distribution.