[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Fri Oct 9 11:23:30 PDT 2015


 src/hb-open-type-private.hh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ee9b0b6cb5fdb08671ab064f26c299135f828260
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Oct 9 14:23:15 2015 -0400

    Fix another sanitize bug
    
    Also discovered by "libFuzzer".

diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh
index aeb3302..e55d2e1 100644
--- a/src/hb-open-type-private.hh
+++ b/src/hb-open-type-private.hh
@@ -920,7 +920,7 @@ struct ArrayOf
   inline bool sanitize_shallow (hb_sanitize_context_t *c) const
   {
     TRACE_SANITIZE (this);
-    return_trace (c->check_struct (this) && c->check_array (this, Type::static_size, len));
+    return_trace (c->check_struct (this) && c->check_array (array, Type::static_size, len));
   }
 
   public:


More information about the HarfBuzz mailing list