[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Sep 13 18:36:20 UTC 2018


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

New commits:
commit ca746f261e1e54cec2f9c8bc7a6f930491e19418
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Sep 13 20:35:21 2018 +0200

    [dfont] Also check dataLen range in sanitize
    
    Just to disagree with myself re being done with this code...

diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh
index cd7d78a3..a1f931d3 100644
--- a/src/hb-open-file.hh
+++ b/src/hb-open-file.hh
@@ -432,6 +432,7 @@ struct ResourceForkHeader
   {
     TRACE_SANITIZE (this);
     return_trace (c->check_struct (this) &&
+		  data.sanitize (c, this, dataLen) &&
 		  map.sanitize (c, this, &(this+data)));
   }
 


More information about the HarfBuzz mailing list