libexttextcat
libexttextcat copied to clipboard
Dovecot limits process VSZ by default, and we noticed that libexttextcat crashes when it can't allocate memory. Segfaulting doesn't make it very clear why the failure happened, so would be...
git push --tags?
When compiling LibreOffice today: ```sh ./autogen.sh\ --enable-dbgutil\ --disable-odk\ --enable-epm\ --with-package-format=archive\ --disable-gtk3\ --disable-systray\ --disable-cups\ --enable-release-build\ --enable-python=internal\ --with-galleries=no\ --with-java=no\ --without-fonts\ --without-help ``` Leads to: ``` configure: ============================================================================== Build configuration: werror: yes ==============================================================================...
...that were observed with a UBSan LibreOffice build, when opening LibreOffice's writerfilter/qa/cppunittests/rtftok/data/pass/EDB-18940-1.rtf. (Downstream patch at "external/libexttextcat: Silence various -fsanitize=shift-base".)
Compiling with LTO otherwise fails with: ``` wg_mempool.h:91:18: error: type of 'wgmempool_Init' does not match original declaration [-Werror=lto-type-mismatch] 91 | extern void *wgmempool_Init(uint4 blocksize, size_t maxstrsize); | ^ wg_mempool.c:86:14: note:...