Skip to content

Releases: hunspell/hyphen

v2.8.9

15 May 16:12

Choose a tag to compare

First Hyphen release on GitHub Releases. Earlier tarballs are at
https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/ .

New

  • New public API hnj_hyphen_load_data loads a dictionary from a raw
    memory buffer (#4, contributed by Roman "SBKarr" Katuntsev). Useful
    for Android, embedded systems, and any caller holding dict bytes in
    memory. Bumps the libtool version-info from 3:0:3 to 4:0:4 (Linux
    SONAME stays libhyphen.so.0).
  • Windows long-path support via _wfopen (fdo#48017, originally from
    LibreOffice).
  • libFuzzer + ASan + LSan harness shipping under fuzz/.

Fixes

Many memory-safety fixes for malformed dictionaries and adversarial
word input, found via libFuzzer + ASan + LSan: crashes in the
rep-application loop, lhmin/rhmin loops, hyphword/norm compaction;
infinite-recursion guards in the compound hyphenation path; leak fixes
in the dict parser and at every site that writes into the
(*rep)/(*pos)/(*cut) arrays.