HarfBuzz text shaping engine
Go to file
Dominik Röttsches a5f6f869e8 Drop layout table if layout lookup accelerator allocation failed
If the table is kept, when the table is present but only the accelerator
allocation failed, then we run into nullptr dereferences downstream in
hb_ot_map_t::apply when trying to access proxy.accels[i].

To fix this, instead of only setting lookup_count of accelerator_t
itself, drop the whole table to avoid hb-ot-map construction assuming
that the lookups will work correctly despite accelerator allocation
having failed.

Fixes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490
2020-11-25 10:18:04 -08:00
.ci [ci] Move repeated artifact upload job code to script 2020-09-11 20:12:24 +03:00
.circleci Revert "[CI] Don’t install ragel on circleci jobs" 2020-11-21 08:41:06 -07:00
.github/workflows [ci] don't install rustc on linux-ci 2020-07-31 09:28:51 +04:30
docs [docs] Describe buffer context applicability more explicitly 2020-10-24 21:58:02 +03:00
m4 Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
meson-cc-tests Add Meson build definitions 2020-03-11 19:18:57 +03:30
perf [meson] Make compatbile with 0.47.0 2020-08-13 18:28:42 +04:30
src Drop layout table if layout lookup accelerator allocation failed 2020-11-25 10:18:04 -08:00
subprojects Meson: Update all wrap files to latest version 2020-11-17 11:56:52 -05:00
test Don’t map BCP 47 to coincidentally similar OT tag 2020-11-22 19:35:47 -08:00
util [hb-subset] Improve error handling a bit 2020-10-13 11:18:59 -07:00
.clang-format Add an initial .clang-format config 2019-01-09 16:01:11 +03:30
.codecov.yml [ci] Add .codecov.yml 2018-11-26 18:58:39 +03:30
.editorconfig [meson] Minor, replace tabs with spaces 2020-03-24 19:06:09 +00:00
AUTHORS Update AUTHORS / COPYING 2019-04-21 12:26:07 -04:00
BUILD.md [docs] Remove packagers related part 2020-08-02 11:15:15 +04:30
CMakeLists.txt Fix a dead link in CMakeLists.txt 2020-10-17 12:32:41 -04:00
CONFIG.md [docs] Adopt CONFIG.md with meson 2020-08-02 11:22:09 +04:30
COPYING Update COPYING 2020-01-26 00:07:28 +03:30
Makefile.am Revert "Remove cmake build files" 2020-08-12 01:00:33 +04:30
NEWS 2.7.2 2020-08-29 00:39:42 +02:00
README Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
README.md [ci] Disable Travis CI 2020-08-02 11:08:12 +04:30
README.mingw.md Build win32 artifacts using meson 2020-06-01 12:58:31 +04:30
README.python.md [docs] Update README.python.md with meson 2020-08-03 18:41:49 +04:30
RELEASING.md Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
TESTING.md [docs] Minor in TESTING.md 2020-08-14 10:19:33 +04:30
THANKS [THANKS] Add Ivan Kuckir <https://photopea.com/> 2019-04-24 15:08:27 -07:00
TODO
autogen.sh Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
configure.ac [autotools] Require pkg-config 0.28 2020-10-23 17:29:43 +02:00
git.mk Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
harfbuzz.doap
meson.build meson: Fix check for cairo and cairo-ft dependencies 2020-11-17 11:52:35 -05:00
meson_options.txt [meson] Rename 'gtk_doc' option to 'docs' 2020-07-22 17:53:04 +04:30
replace-enum-strings.cmake Revert "Remove cmake build files" 2020-08-12 01:00:33 +04:30

README.md

Linux CI Status CircleCI Build Status OSS-Fuzz Status Coverity Code Health Codacy Code Health Codecov Code Coverage Coverals Code Coverage Packaging status ABI Tracker

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

http://harfbuzz.org/

For license information, see COPYING.

For build information, see BUILD.md.

For custom configurations, see CONFIG.md.

For test execution, see TESTING.md.

Documentation: https://harfbuzz.github.io

Packaging status of HarfBuzz

Packaging status