Go to file
Behdad Esfahbod b7be59311f Fix msan issue
The fact that HB_AUTO_RETURN will return rvalue-references for rvalues
is very disturbing.

Even apart from that, I'm totally lost re any hb_move needs or
hb_forward'ing to functions/templates where the type is fixed by
explicitly specifying template parameters.

==1==ERROR: AddressSanitizer: stack-use-after-return on address 0x7f6ad65e51e0 at pc 0x0000005da240 bp 0x7ffc104ab670 sp 0x7ffc104ab668
READ of size 4 at 0x7f6ad65e51e0 thread T0
SCARINESS: 55 (4-byte-read-stack-use-after-return)
     #0 0x5da23f in bool OT::Coverage::serialize<hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, (void*)0>(hb_serialize_context_t*, hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>) harfbuzz/src/hb-ot-layout-common.hh:1055:16
     #1 0x5d88f9 in bool OT::SingleSubstFormat1::serialize<hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, (void*)0>(hb_serialize_context_t*, hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, unsigned int) harfbuzz/src/hb-ot-layout-gsub-table.hh:98:9
2019-05-16 13:34:19 -07:00
.ci [ci] Cache FreeType build on Travis 2019-03-14 23:16:26 +02:00
.circleci [ci] add HB_TINY to asmjs builder 2019-05-14 16:16:46 +04:30
docs Merge pull request #1680 from n8willis/usermanual-obj 2019-05-09 14:39:05 +01:00
m4 Remove generated files that were accidentally added by CFF2 branch 2018-11-30 22:43:22 -05:00
src Fix msan issue 2019-05-16 13:34:19 -07:00
test [subset] Truncate empty gids at the end in retain-gids mode. 2019-05-16 10:34:53 -07:00
util [subset] Subset name table step 3, add --nameids option to guide the 2019-04-26 15:24:47 -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 .editorconfig, minor 2019-04-23 12:40:29 +04:30
.travis.yml [ci][travis] Update its distribution 2019-05-15 13:03:28 +04:30
appveyor.yml [appveyor] Drop Cygwin builds again 2018-10-25 02:34:02 +02:00
AUTHORS Update AUTHORS / COPYING 2019-04-21 12:26:07 -04:00
autogen.sh Add Ragel-generated files to git 2018-02-20 14:36:14 -08:00
azure-pipelines.yml Set up CI with Azure Pipelines 2018-10-25 15:22:54 +00:00
BUILD.md Fix typos. 2018-10-19 19:24:05 +03:30
CMakeLists.txt Another try at fixing cmake build 2019-04-24 16:41:57 -07:00
configure.ac Generate tarball in .xz instead of .bz2 2019-05-10 11:53:02 -07:00
COPYING Update AUTHORS / COPYING 2019-04-21 12:26:07 -04:00
git.mk [git.mk] Update 2017-10-27 10:23:01 -06:00
harfbuzz.doap Move all references of old url to the new address (#622) 2017-11-20 14:49:22 -05:00
Makefile.am Update ChangeLog generation 2019-03-26 13:44:39 -07:00
mingw32.sh Add mingw32.sh and mingw64.sh 2018-02-16 14:16:28 -08:00
mingw64.sh Add mingw32.sh and mingw64.sh 2018-02-16 14:16:28 -08:00
NEWS 2.4.0 2019-03-28 21:21:26 -07:00
README Switch README / README.md 2019-01-28 20:39:16 -05:00
README.md Update README.md 2019-05-08 09:53:58 -07:00
README.python.md Fix typos. 2018-10-19 19:24:05 +03:30
README.wine.md Fix typos. 2018-10-19 19:24:05 +03:30
RELEASING.md Update RELEASING 2019-03-29 14:30:02 -07:00
replace-enum-strings.cmake CMake: Support building HarfBuzz-GObject 2017-10-18 23:48:11 +08:00
TESTING.md Update TESTING.md 2019-05-10 16:52:43 -07:00
THANKS [THANKS] Add Ivan Kuckir <https://photopea.com/> 2019-04-24 15:08:27 -07:00
TODO [TODO] Remove BCP 47 language handling item 2018-10-20 21:13:25 +03:30

Travis Build Status AppVeyor Build Status CircleCI Build Status Coverity Code Health Codacy Code Health Codecov Code Coverage Coverals Code Coverage 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 test execution, see TESTING.md.

Documentation: https://harfbuzz.github.io