diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-18 09:38:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-18 10:33:55 +0200 |
commit | 1b6ecb1dc544b7a462948a1c85d4bfc6f08865b8 (patch) | |
tree | 9cdb6ee53dadc178ed37c090b229c2f2495e3419 /sal/qa/rtl | |
parent | beb3b39ddf04d90b4c18cb15c35dccac35f4dcb7 (diff) |
Avoid uninitialized vcl::EditWidget::PrependCurrencySymbol
...causing UBSan
> /vcl/source/gdi/pdfwriter_impl.cxx:11017:53: runtime error: load of value 190, which is not a valid value for type 'bool'
> #0 0x7efed21c891b in vcl::PDFWriterImpl::createControl(vcl::PDFWriter::AnyWidget const&, int) /vcl/source/gdi/pdfwriter_impl.cxx:11017:53
> #1 0x7efed205c76b in vcl::PDFWriter::CreateControl(vcl::PDFWriter::AnyWidget const&) /vcl/source/gdi/pdfwriter.cxx:438:29
> #2 0x7efed1f5dc60 in vcl::PageSyncData::PlaySyncPageAct(vcl::PDFWriter&, unsigned int&, GDIMetaFile const&, vcl::PDFExtOutDevData const&) /vcl/source/gdi/pdfextoutdevdata.cxx:394:29
> #3 0x7efed1f64eac in vcl::PDFExtOutDevData::PlaySyncPageAct(vcl::PDFWriter&, unsigned int&, GDIMetaFile const&) /vcl/source/gdi/pdfextoutdevdata.cxx:612:28
> #4 0x7efed206486e in vcl::PDFWriterImpl::playMetafile(GDIMetaFile const&, vcl::PDFExtOutDevData*, vcl::PDFWriter::PlayMetafileContext const&, VirtualDevice*) /vcl/source/gdi/pdfwriter_impl2.cxx:288:48
[...]
during CppunitTest_vcl_pdfexport
(<https://ci.libreoffice.org/job/lo_ubsan/2402/>)
Change-Id: I95c6e58e1a4204ba828db29e3c1429285bae27ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134505
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'sal/qa/rtl')
0 files changed, 0 insertions, 0 deletions