Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
2 new defect(s) introduced to LibreOffice found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by
Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 1427009: Uninitialized members (UNINIT_CTOR)
/connectivity/source/drivers/firebird/Blob.cxx: 48 in connectivity::firebird::Blob::Blob(unsigned
int *, unsigned int *, const GDS_QUAD_t &)()
________________________________________________________________________________________________________
*** CID 1427009: Uninitialized members (UNINIT_CTOR)
/connectivity/source/drivers/firebird/Blob.cxx: 48 in connectivity::firebird::Blob::Blob(unsigned
int *, unsigned int *, const GDS_QUAD_t &)()
42 m_blobHandle(nullptr),
43 #endif
44 m_bBlobOpened(false),
45 m_nBlobLength(0),
46 m_nBlobPosition(0)
47 {
CID 1427009: Uninitialized members (UNINIT_CTOR)
Non-static class member "m_nMaxSegmentSize" is not initialized in this constructor nor in
any functions that it calls.
48 }
49
50 void Blob::ensureBlobIsOpened()
51 {
52 MutexGuard aGuard(m_aMutex);
53
** CID 1427008: Incorrect expression (UNINTENDED_INTEGER_DIVISION)
/sw/source/filter/html/svxcss1.cxx: 2300 in ParseCSS1_margin(const CSS1Expression *, SfxItemSet &,
SvxCSS1PropertyInfo &, const SvxCSS1Parser &)()
________________________________________________________________________________________________________
*** CID 1427008: Incorrect expression (UNINTENDED_INTEGER_DIVISION)
/sw/source/filter/html/svxcss1.cxx: 2300 in ParseCSS1_margin(const CSS1Expression *, SfxItemSet &,
SvxCSS1PropertyInfo &, const SvxCSS1Parser &)()
2294 bSetThis = true;
2295 }
2296 break;
2297 case CSS1_PIXLENGTH:
2298 {
2299 auto fMargin = pExpr->GetNumber();
CID 1427008: Incorrect expression (UNINTENDED_INTEGER_DIVISION)
Dividing integer expressions "2147483647" and "2", and then converting the integer quotient
to type "double". Any remainder, or fractional part of the quotient, is ignored.
2300 if (fMargin < SAL_MAX_INT32/2 && fMargin > SAL_MIN_INT32/2)
2301 {
2302 nMargin = (long)fMargin;
2303 long nPWidth = 0;
2304 SvxCSS1Parser::PixelToTwip( nPWidth, nMargin );
2305 bSetThis = true;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyHJYV0YMSfoRZm0xr2Uel7f935lkD8zh2972P6qw5APgOZFHwoXgvAzxhbNmqEt3-2BAw5dux9CYTKSQXDOvqATIPAa96HPyPAbSBIa8gRk12MfyiblOXHy1GwnaDkLcXVcMfTDTWaVQ7qDQXCZm2IWYBbUBE-2FsEE-2BzGrCq5uZuYUE-3D
To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyHJYV0YMSfoRZm0xr2Uel7aJcR2FdC-2FMGuWC-2BmD5WnU8x9MHRZQdD84lErTpPmq3RfA3uNrN3do7-2F1Ebpxcw7MyNdgqbA0S5II0HmyoXwbiUoTV49gui0ee-2BPa1qwIOrbhSSkyYi5-2FBIi-2B2XF0s5VT0ZZgtmVVQOGhB7s7sGKpQM-3D
Context
- New Defects reported by Coverity Scan for LibreOffice · scan-admin
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.