Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

1.6.7: Segfault Fix, More Safety Checks, Windows Fixes

Compare
Choose a tag to compare
@oschwald oschwald released this 30 Oct 16:18
  • 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.