ofz#65329 Fuzzing build failure
since:
commit 9cc8457abc
Date: Fri Dec 15 23:09:19 2023 -0700
tdf#128122 Updated BASIC CCur to reuse SvNumberFormatter
LibreOfficeOssFuzz.conf has --enable-ld=gold and that will just
crash on an unresolved symbol without any explanation, but building
without will give something useful, e.g.
sbxcurr.cxx:(.text._Z14ImpGetCurrencyPK9SbxValues[_Z14ImpGetCurrencyPK9SbxValues]+0x89f): undefined reference to `SbiInstance::GetNumberFormatter()'
/usr/bin/ld: sbxcurr.cxx:(.text._Z14ImpGetCurrencyPK9SbxValues[_Z14ImpGetCurrencyPK9SbxValues]+0xbf7): undefined reference to `SbiInstance::PrepareNumberFormatter(unsigned int&, unsigned int&, unsigned int&, o3tl::strong_int<unsigned short, LanguageTypeTag> const*, DateOrder const*)'
Change-Id: I4b555760a609ec04fd85f7ba9c198a3d2ac712c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161294
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
e48dbe4f14
commit
7e0afa422c
2 changed files with 11 additions and 4 deletions
|
@ -93,18 +93,18 @@ $(eval $(call gb_Library_add_exception_objects,sb,\
|
|||
basic/source/runtime/props \
|
||||
basic/source/runtime/stdobj \
|
||||
basic/source/runtime/stdobj1 \
|
||||
basic/source/runtime/runtime \
|
||||
basic/source/classes/errobject \
|
||||
))
|
||||
endif
|
||||
|
||||
$(eval $(call gb_Library_add_exception_objects,sb,\
|
||||
basic/source/runtime/basrdll \
|
||||
basic/source/classes/global \
|
||||
basic/source/runtime/methods \
|
||||
basic/source/runtime/methods1 \
|
||||
basic/source/classes/sbintern \
|
||||
basic/source/comp/basiccharclass \
|
||||
basic/source/runtime/basrdll \
|
||||
basic/source/runtime/methods \
|
||||
basic/source/runtime/methods1 \
|
||||
basic/source/runtime/runtime \
|
||||
basic/source/sbx/sbxarray \
|
||||
basic/source/sbx/sbxbool \
|
||||
basic/source/sbx/sbxbyte \
|
||||
|
|
|
@ -81,6 +81,8 @@ using namespace com::sun::star::script;
|
|||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
#if HAVE_FEATURE_SCRIPTING
|
||||
|
||||
static void lcl_clearImpl( SbxVariableRef const & refVar, SbxDataType const & eType );
|
||||
static void lcl_eraseImpl( SbxVariableRef const & refVar, bool bVBAEnabled );
|
||||
|
||||
|
@ -376,6 +378,8 @@ SbiDllMgr* SbiInstance::GetDllMgr()
|
|||
return pDllMgr.get();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// #39629 create NumberFormatter with the help of a static method now
|
||||
std::shared_ptr<SvNumberFormatter> const & SbiInstance::GetNumberFormatter()
|
||||
{
|
||||
|
@ -468,6 +472,7 @@ std::shared_ptr<SvNumberFormatter> SbiInstance::PrepareNumberFormatter( sal_uInt
|
|||
return pNumberFormatter;
|
||||
}
|
||||
|
||||
#if HAVE_FEATURE_SCRIPTING
|
||||
|
||||
// Let engine run. If Flags == BasicDebugFlags::Continue, take Flags over
|
||||
|
||||
|
@ -4762,4 +4767,6 @@ void SbiRuntime::StepSTATIC( sal_uInt32 nOp1, sal_uInt32 nOp2 )
|
|||
StepSTATIC_Impl( aName, t, nOp2 );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
Loading…
Reference in a new issue