freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master d7f456e 1/2: Formatting, minor comment corrections.


From: Werner LEMBERG
Subject: [freetype2] master d7f456e 1/2: Formatting, minor comment corrections.
Date: Sat, 26 Sep 2015 06:50:12 +0000

branch: master
commit d7f456ee176eee33f7ee42d704d464cc784667b0
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    Formatting, minor comment corrections.
---
 ChangeLog         |   27 +++++++++++++--------------
 src/base/ftbase.h |    4 ++--
 2 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e54092d..5732e45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -49,25 +49,24 @@
 
 2015-09-21  suzuki toshiya  <address@hidden>
 
-       [base] Check too long POST and sfnt resource (#45919). 
+       [base] Check too long POST and sfnt resource (#45919).
 
-       * src/base/ftbase.h (FT_MAC_RFORK_MAX_LEN): Maximum length
-       of the resource fork for Mac OS.  The resource fork larger
-       than 16 MB can be written but could not be handled
-       correctly, at least in Carbon routine.
-       See https://support.microsoft.com/en-us/kb/130437
+       * src/base/ftbase.h (FT_MAC_RFORK_MAX_LEN): Maximum length of the
+       resource fork for Mac OS.  Resource forks larger than 16 MB can be
+       written but can't be handled correctly, at least in Carbon routine.
+       See https://support.microsoft.com/en-us/kb/130437.
 
-       * src/base/ftobjs.c (Mac_Read_POST_Resource): No need `0x'
-       for `%p' formatter.
+       * src/base/ftobjs.c (Mac_Read_POST_Resource): No need to use `0x'
+       prefix for `%p' formatter.
 
-       * src/base/ftbase.c (Mac_Read_POST_Resource): Check the
-       fragment and total size of the concatenated POST resource
+       * src/base/ftbase.c (Mac_Read_POST_Resource): Check the fragment and
+       total size of the concatenated POST resource before buffer
+       allocation.
+       (Mac_Read_sfnt_Resource): Check the declared size of sfnt resource
        before buffer allocation.
-       (Mac_Read_sfnt_Resource): Check the declared size of
-       sfnt resource before buffer allocation.
 
-       * src/base/ftmac.c (read_lwfn, FT_New_Face_From_SFNT):
-       Check the total resource size before buffer allocation.
+       * src/base/ftmac.c (read_lwfn, FT_New_Face_From_SFNT): Check the
+       total resource size before buffer allocation.
 
 2015-09-19  Werner Lemberg  <address@hidden>
 
diff --git a/src/base/ftbase.h b/src/base/ftbase.h
index 0bd9e65..e37fefa 100644
--- a/src/base/ftbase.h
+++ b/src/base/ftbase.h
@@ -27,8 +27,8 @@
 FT_BEGIN_HEADER
 
 
-/* MacOS resource fork cannot exceed 16 MB at least for Carbon code */
-/* see https://support.microsoft.com/en-us/kb/130437                */
+  /* MacOS resource fork cannot exceed 16MB at least for Carbon code; */
+  /* see https://support.microsoft.com/en-us/kb/130437                */
 #define FT_MAC_RFORK_MAX_LEN  0x00FFFFFFUL
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]