Re: hyphenator valgrind error

"Sebastian Geerken" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Mon, Dec 31, Sebastian Geerken wrote:
> On Mon, Dec 31, corvid wrote:
> > ==30983== Invalid read of size 1
> > ==30983==    at 0x81151B6: fl_utf8back (fl_utf.c:259)
> > ==30983==    by 0x80A2320: dw::fltk::FltkPlatform::prevGlyph(char const*, int) (fltkplatform.cc:599)
> > ==30983==    by 0x809EDA3: dw::Hyphenator::hyphenateSingleWord(dw::core::Platform*, char*, int, lout::misc::SimpleVector<int>*) (hyphenator.cc:327)
> > ==30983==    by 0x809E9F2: dw::Hyphenator::hyphenateWord(dw::core::Platform*, char const*, int*) (hyphenator.cc:256)
> 
> Good opportunity to get rid of fl_utf8back. I'm working on it, expect
> a fix next year.

Fixed. Platform::prevGlyph is not used anymore.

Happy new year!

Sebastian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.