harfbuzz/src
Behdad Esfahbod 52f61cdb87 Detect over/under-flow in UnsizedArray::operator[]
Was causing bad substitutions in mort table because of WordOffsetToIndex()
producing negative numbers that were cast to unsigned int and returned as
large numbers (which was desirable, so they would be rejected), but then
they were cast to int when passed to this operator and acting as small
negative integers, which was bad...

Detect overflow.  Ouch, however, now I see this still fails on 32-bit.
Guess I'm going to revert an earlier change.
2018-11-16 16:41:59 -08:00
..
hb-ucdn
HBIndicVowelConstraints.txt Touch up on previous commit 2018-10-23 02:51:42 -07:00
Makefile.am [fuzzing] Remove limited-edition build of libraries 2018-11-12 13:21:14 -05:00
Makefile.sources [STAT] Add table parsing (#1384) 2018-11-14 22:13:50 +03:30
check-c-linkage-decls.sh
check-externs.sh
check-header-guards.sh
check-includes.sh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
check-libstdc++.sh
check-static-inits.sh [check-static-inits.sh] Allow some if ubsan is in effect 2018-09-24 13:11:34 -04:00
check-symbols.sh [circleci] Fix "msan" and "everything" bots (#1205) 2018-10-02 00:16:08 +03:30
dev-run.sh
dump-indic-data.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
dump-khmer-data.cc [khmer] Remove unused khmer_position() 2018-10-02 18:20:16 +02:00
dump-myanmar-data.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
dump-use-data.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
gen-arabic-table.py
gen-def.py Rename deprecated symbols list file name and clean it up (#1328) 2018-10-29 13:11:01 +03:30
gen-emoji-table.py [emoji] Add emoji Extended_Pictographic table and function 2018-10-03 18:45:27 +02:00
gen-indic-table.py Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
gen-os2-unicode-ranges.py [os2] Minor rename/shuffle 2018-10-03 18:45:27 +02:00
gen-tag-table.py Update language system tag registry to OT 1.8.3 2018-10-11 13:54:28 -04:00
gen-use-table.py Change USE Category for Grantha Virama 2018-11-13 12:51:10 -08:00
gen-vowel-constraints.py Clean up buffer->swap_buffers() calls 2018-11-04 02:25:07 -05:00
harfbuzz-config.cmake.in Fix infinite loop when walking up the directory hierarchy (#1183) 2018-09-27 18:03:49 +03:30
harfbuzz-gobject.pc.in
harfbuzz-icu.pc.in
harfbuzz-subset.pc.in
harfbuzz.pc.in
hb-aat-layout-ankr-table.hh [aat] Clean up ankr table include mess 2018-11-04 12:58:02 -05:00
hb-aat-layout-bsln-table.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-aat-layout-common.hh [ot-shape] Move code around 2018-11-14 19:57:19 -05:00
hb-aat-layout-feat-table.hh [colr/feat/trak] minor 2018-11-10 19:31:12 +03:30
hb-aat-layout-just-table.hh [aat] Minor 2018-11-08 21:46:26 +03:30
hb-aat-layout-kerx-table.hh Rename check_array2() to check_array() 2018-11-12 14:24:36 -05:00
hb-aat-layout-lcar-table.hh Use atomic ints for upem and num_glyphs on face 2018-11-13 11:54:33 -05:00
hb-aat-layout-morx-table.hh [morx] Minor 2018-11-07 17:29:37 -05:00
hb-aat-layout-trak-table.hh Minor 2018-11-16 14:31:05 -08:00
hb-aat-layout.cc [aat] Fix mort shaping 2018-11-16 16:11:02 -08:00
hb-aat-layout.hh [ot-shape] Move code around 2018-11-14 19:57:19 -05:00
hb-aat-ltag-table.hh [name] Hook up ltag table 2018-10-26 21:22:26 -07:00
hb-aat-map.cc [shape-plan] Cache shape plans with variations based on variation indices 2018-11-12 18:48:10 -05:00
hb-aat-map.hh [shape-plan] Cache shape plans with variations based on variation indices 2018-11-12 18:48:10 -05:00
hb-atomic.hh Merge pull request #1380 from kbrow1i/cygwin 2018-11-13 19:49:06 -05:00
hb-blob.cc Don't use Win32 API on Cygwin 2018-11-12 21:07:34 -05:00
hb-blob.h
hb-blob.hh Add hb_blob_ptr_t.destroy() 2018-11-11 11:40:57 -05:00
hb-buffer-deserialize-json.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-buffer-deserialize-json.rl Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-buffer-deserialize-text.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-buffer-deserialize-text.rl Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-buffer-serialize.cc [color] Fix alpha channel value and adjust spaces 2018-10-22 10:17:31 +02:00
hb-buffer.cc Replace most uses of is_inert with is_immutable 2018-11-03 15:03:06 -04:00
hb-buffer.h [docs] Minor 2018-10-20 16:57:36 -07:00
hb-buffer.hh Remove ASSERT_POD 2018-10-29 14:45:44 -07:00
hb-cache.hh Unbreak bots 2018-10-01 12:55:57 +02:00
hb-common.cc Add pointer magic operators to hb_atomic_ptr_t 2018-11-05 13:23:54 -05:00
hb-common.h Move HB_EXTERN 2018-10-27 04:47:41 -07:00
hb-coretext.cc [coretext] Hopefully the last one 2018-11-16 08:52:57 -05:00
hb-coretext.h
hb-debug.hh fix various GCC function pointer warnings 2018-10-30 13:17:54 -07:00
hb-deprecated.h [docs] Change section titles again 2018-10-27 04:51:42 -07:00
hb-directwrite.cc [directwrite] Fix build 2018-11-16 03:26:46 -05:00
hb-directwrite.h
hb-dsalgs.hh Add hb_memcmp() 2018-11-12 16:27:08 -05:00
hb-face.cc [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-face.h [face] Introduce character-map API 2018-08-25 22:44:39 -07:00
hb-face.hh [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-fallback-shape.cc [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-font.cc [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-font.h Minor 2018-10-31 14:22:31 -07:00
hb-font.hh [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-ft.cc Use non-GRID-fitted values for metrics (#1363) 2018-11-07 08:19:36 -05:00
hb-ft.h
hb-glib.cc [docs] More 2018-10-27 04:47:41 -07:00
hb-glib.h
hb-gobject-enums.cc.tmpl Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-gobject-enums.h.tmpl
hb-gobject-structs.cc [docs] More 2018-10-27 04:47:41 -07:00
hb-gobject-structs.h
hb-gobject.h
hb-graphite2.cc [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-graphite2.h Add HB_DEPRECATED_FOR and mark relevant symbols 2018-10-12 16:06:39 -04:00
hb-icu.cc [docs] More 2018-10-27 04:47:41 -07:00
hb-icu.h
hb-iter.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-kern.hh [kerx] Implement CrossStream kerning for non-state-machine subtables 2018-11-07 14:52:57 -05:00
hb-machinery.hh [coretext] Try to fix 2018-11-16 03:25:07 -05:00
hb-map.cc [docs] Fix titles here as well 2018-10-28 08:23:36 -07:00
hb-map.h
hb-map.hh [set/map] Fix uninitialized memory 2018-10-29 23:21:14 -07:00
hb-mutex.hh Don't use Win32 API on Cygwin 2018-11-12 21:07:34 -05:00
hb-null.hh Revert "Declare Null() constexpr" 2018-11-11 16:09:38 -05:00
hb-object.hh Make atomic types' internal values non-mutable 2018-11-13 11:46:20 -05:00
hb-open-file.hh Add UnsizedArrayOf::as_array() instead of hb_array() template 2018-11-02 11:46:42 -04:00
hb-open-type.hh Detect over/under-flow in UnsizedArray::operator[] 2018-11-16 16:41:59 -08:00
hb-ot-cmap-table.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-color-cbdt-table.hh Add hb_blob_ptr_t.destroy() 2018-11-11 11:40:57 -05:00
hb-ot-color-colr-table.hh [colr/feat/trak] minor 2018-11-10 19:31:12 +03:30
hb-ot-color-cpal-table.hh Add UnsizedArrayOf::as_array() instead of hb_array() template 2018-11-02 11:46:42 -04:00
hb-ot-color-sbix-table.hh Use atomic ints for upem and num_glyphs on face 2018-11-13 11:54:33 -05:00
hb-ot-color-svg-table.hh Add hb_blob_ptr_t.destroy() 2018-11-11 11:40:57 -05:00
hb-ot-color.cc [ot-color/svg] Note that it can be gzipped 2018-11-14 12:13:16 +03:30
hb-ot-color.h 2.1.0 2018-10-30 15:52:26 -07:00
hb-ot-face.cc [ot-face] Include hb-ot-face directly in hb_face_t 2018-11-05 23:10:12 -05:00
hb-ot-face.hh [STAT] Add table parsing (#1384) 2018-11-14 22:13:50 +03:30
hb-ot-font.cc [STAT] Add table parsing (#1384) 2018-11-14 22:13:50 +03:30
hb-ot-font.h
hb-ot-glyf-table.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-hdmx-table.hh [hdmx] Fix bounds checking 2018-11-16 02:02:24 -05:00
hb-ot-head-table.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-ot-hhea-table.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-ot-hmtx-table.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-kern-table.hh [kern] Switch to dispatch 2018-11-07 16:03:09 -05:00
hb-ot-layout-base-table.hh [base] Add TODO items 2018-11-15 02:48:50 -05:00
hb-ot-layout-common.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-layout-gdef-table.hh Minor 2018-11-16 14:31:05 -08:00
hb-ot-layout-gpos-table.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-layout-gsub-table.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-layout-gsubgpos.hh Minor 2018-11-16 14:31:05 -08:00
hb-ot-layout-jstf-table.hh Disallow null-enabled offsets to unsized structures... 2018-09-15 19:43:33 +02:00
hb-ot-layout.cc [ot-shape] Move code around 2018-11-14 19:57:19 -05:00
hb-ot-layout.h [BASE] Improvements (#1347) 2018-11-03 22:28:30 +03:30
hb-ot-layout.hh [ot-shape] Move code around 2018-11-14 19:57:19 -05:00
hb-ot-map.cc [shape-plan] Cache shape plans with variations based on variation indices 2018-11-12 18:48:10 -05:00
hb-ot-map.hh [shape-plan] Cache shape plans with variations based on variation indices 2018-11-12 18:48:10 -05:00
hb-ot-math-table.hh Minor 2018-11-16 14:31:05 -08:00
hb-ot-math.cc [math] Shorten names a bit 2018-11-05 23:28:52 -05:00
hb-ot-math.h
hb-ot-maxp-table.hh [maxp] Minor 2018-10-30 21:09:05 -07:00
hb-ot-name-language.cc [name] Fill out most missing language codes 2018-10-26 21:22:26 -07:00
hb-ot-name-language.hh [name] Add language mapping 2018-10-26 21:22:26 -07:00
hb-ot-name-table.hh Add hb_blob_ptr_t.destroy() 2018-11-11 11:40:57 -05:00
hb-ot-name.cc [ot-face] Simplify table access 2018-11-05 23:10:16 -05:00
hb-ot-name.h [name] Rename hb_name_id_t to hb_ot_name_id_t 2018-10-30 14:04:09 -07:00
hb-ot-os2-table.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-os2-unicode-ranges.hh [name] More 2018-10-26 21:22:26 -07:00
hb-ot-post-macroman.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-ot-post-table.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-ot-shape-complex-arabic-fallback.hh Don't use Win32 API on Cygwin 2018-11-12 21:07:34 -05:00
hb-ot-shape-complex-arabic-table.hh
hb-ot-shape-complex-arabic-win1256.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-ot-shape-complex-arabic.cc Add pointer magic operators to hb_atomic_ptr_t 2018-11-05 13:23:54 -05:00
hb-ot-shape-complex-arabic.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-ot-shape-complex-default.cc Minor 2018-10-02 14:19:34 +02:00
hb-ot-shape-complex-hangul.cc Remove ASSERT_POD 2018-10-29 14:45:44 -07:00
hb-ot-shape-complex-hebrew.cc Minor 2018-10-02 14:19:34 +02:00
hb-ot-shape-complex-indic-machine.hh [indic/use] Factor common expressions in ragel machine 2018-10-02 17:49:06 +02:00
hb-ot-shape-complex-indic-machine.rl [indic/use] Factor common expressions in ragel machine 2018-10-02 17:49:06 +02:00
hb-ot-shape-complex-indic-table.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-ot-shape-complex-indic.cc Clean up buffer->swap_buffers() calls 2018-11-04 02:25:07 -05:00
hb-ot-shape-complex-indic.hh Minor 2018-10-02 14:19:34 +02:00
hb-ot-shape-complex-khmer-machine.hh [ragel] Use ts/te (token-start / token-end) instead of manual tracking 2018-10-02 17:04:05 +02:00
hb-ot-shape-complex-khmer-machine.rl [ragel] Use ts/te (token-start / token-end) instead of manual tracking 2018-10-02 17:04:05 +02:00
hb-ot-shape-complex-khmer.cc Clean up buffer->swap_buffers() calls 2018-11-04 02:25:07 -05:00
hb-ot-shape-complex-khmer.hh [khmer] Remove unused khmer_position() 2018-10-02 18:20:16 +02:00
hb-ot-shape-complex-myanmar-machine.hh [ragel] Use ts/te (token-start / token-end) instead of manual tracking 2018-10-02 17:04:05 +02:00
hb-ot-shape-complex-myanmar-machine.rl [ragel] Use ts/te (token-start / token-end) instead of manual tracking 2018-10-02 17:04:05 +02:00
hb-ot-shape-complex-myanmar.cc Clean up buffer->swap_buffers() calls 2018-11-04 02:25:07 -05:00
hb-ot-shape-complex-myanmar.hh [ubsan] Use unsigned int instead enum where needed (#1270) 2018-10-18 11:06:37 +03:30
hb-ot-shape-complex-thai.cc Clean up buffer->swap_buffers() calls 2018-11-04 02:25:07 -05:00
hb-ot-shape-complex-use-machine.hh [use] Add Halant_Or_Vowel_Modifier category 2018-10-03 12:30:23 +02:00
hb-ot-shape-complex-use-machine.rl [use] Add Halant_Or_Vowel_Modifier category 2018-10-03 12:30:23 +02:00
hb-ot-shape-complex-use-table.cc Change USE Category for Grantha Virama 2018-11-13 12:51:10 -08:00
hb-ot-shape-complex-use.cc Clean up buffer->swap_buffers() calls 2018-11-04 02:25:07 -05:00
hb-ot-shape-complex-use.hh [use] Add Halant_Or_Vowel_Modifier category 2018-10-03 12:30:23 +02:00
hb-ot-shape-complex-vowel-constraints.cc Clean up buffer->swap_buffers() calls 2018-11-04 02:25:07 -05:00
hb-ot-shape-complex-vowel-constraints.hh Touch up on previous commit 2018-10-23 02:51:42 -07:00
hb-ot-shape-complex.hh Cosmetic and minor changes 2018-10-13 07:23:33 -04:00
hb-ot-shape-fallback.cc Fix vertical fallback space sign 2018-11-16 15:04:41 -08:00
hb-ot-shape-fallback.hh Separate fallback kern vs mark positioning 2018-10-08 23:30:24 -04:00
hb-ot-shape-normalize.cc Remove stale comment 2018-10-27 00:06:48 -07:00
hb-ot-shape-normalize.hh Minor 2018-10-08 16:41:08 -04:00
hb-ot-shape.cc Don't apply GPOS if applying morx 2018-11-16 14:46:40 -08:00
hb-ot-shape.h
hb-ot-shape.hh [ot-shape] Move code around 2018-11-14 19:57:19 -05:00
hb-ot-stat-table.hh [STAT] Add table parsing (#1384) 2018-11-14 22:13:50 +03:30
hb-ot-tag-table.hh Update language system tag registry to OT 1.8.3 2018-10-11 13:54:28 -04:00
hb-ot-tag.cc Fix bunch of unused parameter warnings 2018-10-26 21:22:26 -07:00
hb-ot-var-avar-table.hh Better fix for MSVC 2008 2018-11-10 19:57:51 -05:00
hb-ot-var-fvar-table.hh Minor 2018-11-16 14:31:05 -08:00
hb-ot-var-hvar-table.hh Rename check_array(array, a, b) to check_range() 2018-11-12 14:23:31 -05:00
hb-ot-var-mvar-table.hh Rename check_array(array, a, b) to check_range() 2018-11-12 14:23:31 -05:00
hb-ot-var.cc [ot-face] Simplify table access 2018-11-05 23:10:16 -05:00
hb-ot-var.h
hb-ot-vorg-table.hh Fix bunch of unused parameter warnings 2018-10-26 21:22:26 -07:00
hb-ot.h [ot] Fold hb-ot-tag.h into hb-ot-layout.h 2018-10-27 04:47:41 -07:00
hb-set-digest.hh Remove ASSERT_POD 2018-10-29 14:45:44 -07:00
hb-set.cc [docs] Fix titles here as well 2018-10-28 08:23:36 -07:00
hb-set.h
hb-set.hh Add hb_memcmp() 2018-11-12 16:27:08 -05:00
hb-shape-plan.cc [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-shape-plan.h
hb-shape-plan.hh [shape-plan] Remove unused code 2018-11-12 19:46:37 -05:00
hb-shape.cc [shaper] Rename 2018-11-14 21:08:54 -05:00
hb-shape.h
hb-shaper-impl.hh [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-shaper-list.hh Remove HAVE_OT 2018-10-10 16:32:35 -04:00
hb-shaper.cc [shaper] Rename 2018-11-14 21:08:54 -05:00
hb-shaper.hh [coretext] Try to fix 2018-11-16 03:25:07 -05:00
hb-static.cc Use atomic ints for upem and num_glyphs on face 2018-11-13 11:54:33 -05:00
hb-string-array.hh Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb-subset-glyf.cc [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-subset-glyf.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-subset-input.cc [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-subset-input.hh Remove ASSERT_POD 2018-10-29 14:45:44 -07:00
hb-subset-plan.cc [subset] Remove invalid glyphs from glypset to retain 2018-11-16 01:48:26 -05:00
hb-subset-plan.hh [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-subset.cc [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-subset.h [subset] minor, adjust spaces 2018-11-16 00:02:47 +03:30
hb-subset.hh [subset] Fix warning 2018-10-26 21:22:26 -07:00
hb-ucdn.cc Properly remove deprecated stuff 2018-10-09 00:56:33 -04:00
hb-unicode-emoji-table.hh [emoji] Add emoji Extended_Pictographic table and function 2018-10-03 18:45:27 +02:00
hb-unicode.cc Port objects to use header.writable instead of immutable 2018-11-03 14:59:40 -04:00
hb-unicode.h Add doc stubs for recently added API 2018-10-11 14:17:17 -04:00
hb-unicode.hh Port objects to use header.writable instead of immutable 2018-11-03 14:59:40 -04:00
hb-uniscribe.cc [shaper] Rewrite shaper data code to be more template-driven than macro-driven 2018-11-16 02:52:20 -05:00
hb-uniscribe.h
hb-utf.hh Fix bunch of unused parameter warnings 2018-10-26 21:22:26 -07:00
hb-vector.hh Fix a few MSVC 2008 warnings 2018-11-09 10:01:50 -05:00
hb-version.h 2.1.2 2018-11-16 15:38:11 -08:00
hb-version.h.in
hb-warning.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
hb.h Move HB_EXTERN 2018-10-27 04:47:41 -07:00
hb.hh Don't use Win32 API on Cygwin 2018-11-12 21:07:34 -05:00
main.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
sample.py Skip BOM in the Python sample file 2018-10-02 08:25:29 +02:00
test-buffer-serialize.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
test-name-table.cc [name] Rename hb_ot_name_get_names() to hb_ot_name_list_names() 2018-10-27 03:06:14 -07:00
test-ot-color.cc Warning fix 2018-11-01 10:31:19 -04:00
test-size-params.cc [name] Change hb_name_id_t back to unsigned int 2018-10-28 08:26:30 -07:00
test-unicode-ranges.cc Fix build 2018-10-03 19:10:28 +02:00
test-would-substitute.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00
test.cc Rename hb-*private.hh to hb-*.hh 2018-08-25 22:36:36 -07:00