libmaxminddb/libmaxminddb.changes

71 lines
3.7 KiB
Plaintext

-------------------------------------------------------------------
Wed Nov 18 15:15:37 UTC 2015 - p.drouand@gmail.com
- Update to version 1.1.2
* IMPORTANT: This release includes a number of important security
fixes. Among these fixes is improved validation of the database
metadata. Unfortunately, MaxMind GeoIP2 and GeoLite2 databases
created earlier than January 28, 2014, had an invalid data type
for the record_size in the metadata. Previously these databases
worked on little endian machines with libmaxminddb but did not
work on big endian machines. Due to increased safety checks when
reading the file, these databases will no longer work on any
platform. If you are using one of these databases, we recommend
that you upgrade to the latest GeoLite2 or GeoIP2 database
* Added pkg-config support.
* Several segmentation faults found with afl-fuzz were fixed. These
were caused by missing bounds checking and missing verification
of data type.
MMDB_get_entry_data_list will now fail on data structures with a
depth greater than 512 and data structures that are cyclic. This
should not affect any known MaxMind DB in production. All databases
produced by MaxMind have a depth of less than five.
- Add a build dependency to pkg-config
-------------------------------------------------------------------
Sun Jul 26 13:48:17 UTC 2015 - p.drouand@gmail.com
- Update to version 1.1.1
* Added `maxminddb-compat-util.h` as a source file to dist.
- Changes from version 1.1.0
* Previously, when there was an error in `MMDB_open()`, `errno` would
generally be overwritten during cleanup, preventing a useful value from
being returned to the caller. This was changed so that the `errno` value
from the function call that caused the error is restored before returning to
the caller. In particular, this is important for `MMDB_IO_ERROR` errors as
checking `errno` is often the only way to determine what actually failed.
* If `mmap()` fails due to running out of memory space, an
`MMDB_OUT_OF_MEMORY_ERROR` is now returned from `MMDB_open` rather than an
`MMDB_IO_ERROR`.
* On Windows, the `CreateFileMappingA()` handle was not properly closed if
opening the database succeeded. Fixed by Bly Hostetler. GitHub #75 & #76.
* On Windows, we were not checking the return value of `CreateFileMappingA()`
properly for errors. Fixed by Bly Hotetler. GitHub #78.
* Several warnings from Clang's scan-build were fixed. GitHub #86.
* All headers are now installed in `$(includedir)`. GitHub #89.
* We no longer install `maxminddb-compat-util.h`. This header was intended for
internal use only.
-------------------------------------------------------------------
Wed Jan 21 14:03:32 UTC 2015 - p.drouand@gmail.com
- Update to version 1.0.4
* If you used a non-integer string as an array index when doing a
lookup with MMDB_get_value, MMDB_vget_value, or MMDB_aget_value,
the first element of the array would be returned rather than an
error. A MMDB_LOOKUP_PATH_DOES_NOT_MATCH_DATA_ERROR error will
now be returned. GitHub #61.
* If a number larger than LONG_MAX was used in the same functions,
LONG_MAX would have been used in the lookup. Now a
MMDB_INVALID_LOOKUP_PATH_ERROR error will be returned.
* Visual Studio build files were added for unit tests and some
compatibility issues with the tests were fixed.
* Visual Studio project was updated to use property pages. GitHub #69.
* A test failure in t/compile_c++_t.pl on new installs was fixed.
-------------------------------------------------------------------
Sun Dec 21 15:13:41 UTC 2014 - p.drouand@gmail.com
- Initial release (version 1.0.3)