Update documentation and bump version number to 2.3.9

* include/freetype/freetype.h: bump patch version to 9
	* docs/CHANGES: document the ABI break in 2.3.8
	* docs/VERSION.DLL: update version numbers table for 2.3.9
	* builds/unix/configure.ac: update AC_INIT and version_info
	numbers.
This commit is contained in:
David Turner 2009-03-03 20:49:32 +00:00
parent 45f8c5e589
commit cda6f49332
4 changed files with 46 additions and 12 deletions

View File

@ -1,3 +1,13 @@
2009-03-03 David Turner <david@freetype.org>
Update documentation and bump version number to 2.3.9
* include/freetype/freetype.h: bump patch version to 9
* docs/CHANGES: document the ABI break in 2.3.8
* docs/VERSION.DLL: update version numbers table for 2.3.9
* builds/unix/configure.ac: update AC_INIT and version_info
numbers.
2009-03-03 David Turner <david@freetype.org>
Remove ABI-breaking field in public PS_InfoFontRec definition.

View File

@ -2,6 +2,29 @@ CHANGES BETWEEN 2.3.9 and 2.3.8
I. IMPORTANT BUG FIXES
- Very unfortunately, FreeType 2.3.8 contained a change that
broke its official ABI. The end result is that programs compiled
against previous versions of the library, but dynamically linked
to 2.3.8 can experience memory corruption if they call the
FT_Get_PS_Font_Info() function.
We recommend all users to upgrade to 2.3.9 as soon as possible,
or to downgrade to a previous release of the library if this is
not an option.
The origin of the bug is that a new field was added to the
publicly defined PS_FontInfoRec structure. Unfortunately objects
of this type can be stack or heap allocated by callers of
FT_Get_PS_Font_Info(), resulting in a memory buffer over-write
with its implementation in 2.3.8.
If you want to know if your code is vulnerable to this issue,
simply search for the substrings "PS_FontInfo" and
"PS_Font_Info" in your source code. If none is found, your code
is safe and will not be affected.
The FreeType team apologizes for the problem.
- The POSIX support of MacOS resource-fork fonts (Suitcase fonts
and LaserWriter Type1 PostScript fonts) was broken in 2.3.8. If
FreeType2 is built without Carbon framework, these fonts are not

View File

@ -53,6 +53,7 @@ systems, but not all of them:
release libtool so
-------------------------------
2.3.9 9.20.3 6.3.20
2.3.8 9.19.3 6.3.19
2.3.7 9.18.3 6.3.18
2.3.6 9.17.3 6.3.17

View File

@ -3757,7 +3757,7 @@ FT_BEGIN_HEADER
*/
#define FREETYPE_MAJOR 2
#define FREETYPE_MINOR 3
#define FREETYPE_PATCH 8
#define FREETYPE_PATCH 9
/*************************************************************************/