summaryrefslogtreecommitdiff
path: root/external/harfbuzz/ubsan.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/harfbuzz/ubsan.patch')
-rw-r--r--external/harfbuzz/ubsan.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/external/harfbuzz/ubsan.patch b/external/harfbuzz/ubsan.patch
deleted file mode 100644
index fb299316af9d..000000000000
--- a/external/harfbuzz/ubsan.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/hb-ot-hmtx-table.hh
-+++ src/hb-ot-hmtx-table.hh
-@@ -263,7 +263,7 @@ struct hmtxvmtx
- return default_advance;
- }
-
-- return table->longMetric[MIN (glyph, (uint32_t) num_advances - 1)].advance;
-+ return static_cast<OT::LongMetric const *>(table->longMetric)[MIN (glyph, (uint32_t) num_advances - 1)].advance;
- }
-
- inline unsigned int get_advance (hb_codepoint_t glyph,