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

New commits:
commit ca746f261e1e54cec2f9c8bc7a6f930491e19418
Author: Behdad Esfahbod <beh...@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)));
   }
 
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to