office-gobmx/writerfilter
Miklos Vajna 24135dc15a writerfilter: fix crash in DomainMapper_Impl::PushSdt()
Crashreport signature:

Fatal signal received: SIGSEGV code: 1 for address: 0x0

program/libwriterfilterlo.so
        writerfilter::dmapper::DomainMapper_Impl::PushSdt()
                writerfilter/source/dmapper/DomainMapper_Impl.cxx:987
program/libwriterfilterlo.so
        writerfilter::dmapper::DomainMapper::lcl_attribute(unsigned int, writerfilter::Value&)
                include/tools/ref.hxx:56
program/libwriterfilterlo.so
        writerfilter::ooxml::OOXMLProperty::resolve(writerfilter::Properties&)
                include/tools/ref.hxx:56
program/libwriterfilterlo.so
        writerfilter::ooxml::OOXMLPropertySet::resolve(writerfilter::Properties&)
                include/tools/ref.hxx:157

Change-Id: I76416ca707a4ac40495e5c22f62fcd017bcb5e48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160336
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 728f6ec104b1a91c8c8ea0790bc7f56471c67737)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160351
Tested-by: Jenkins
2023-12-05 20:29:03 +01:00
..
documentation
inc
qa tdf#136472 adjust ooxml import to handle first header/footer 2023-12-01 08:26:38 +01:00
source writerfilter: fix crash in DomainMapper_Impl::PushSdt() 2023-12-05 20:29:03 +01:00
util
CppunitTest_writerfilter_dmapper.mk
CppunitTest_writerfilter_filters_test.mk
CppunitTest_writerfilter_misc.mk
CppunitTest_writerfilter_ooxml.mk
CppunitTest_writerfilter_rtftok.mk
CustomTarget_source.mk
IwyuFilter_writerfilter.yaml
Library_writerfilter.mk
Makefile
Module_writerfilter.mk
README.md

Import Filters for LibreOffice Writer

The writerfilter module contains import filters for Writer, using its UNO API.

Import filter for DOCX and RTF.

  • Module contents

    • documentation: RNG schema for the OOXML tokenizer, etc.
    • inc: module-global headers (can be included by any files under source)
    • qa: cppunit tests
    • source: the filters themselves
    • util: UNO passive registration config
  • Source contents

    • dmapper: the domain mapper, hiding UNO from the tokenizers, used by DOCX and RTF import
      • The incoming traffic of dmapper can be dumped into an XML file in /tmp in dbgutil builds, start soffice with the SW_DEBUG_WRITERFILTER=1 environment variable if you want that.
    • filter: the UNO filter service implementations, invoked by UNO and calling the dmapper + one of the tokenizers
    • ooxml: the docx tokenizer
    • rtftok: the rtf tokenizer