New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 1504075:  Uninitialized members  (UNINIT_CTOR)
/vcl/source/filter/imet/ios2met.cxx: 357 in <unnamed>::OSAttr::OSAttr()()


________________________________________________________________________________________________________
*** CID 1504075:  Uninitialized members  (UNINIT_CTOR)
/vcl/source/filter/imet/ios2met.cxx: 357 in <unnamed>::OSAttr::OSAttr()()
351             , nMrkPrec(0)
352             , nMrkSet(0)
353             , nMrkSymbol(0)
354             , bFill(false)
355             , nStrLinWidth(0)
356         {
>>>     CID 1504075:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "nChrCellHeight" is not initialized in this constructor nor in any functions that it calls.
357         }
358     };
359     
360     class OS2METReader {
361     
362     private:

** CID 1504074:  Integer handling issues  (NEGATIVE_RETURNS)


________________________________________________________________________________________________________
*** CID 1504074:  Integer handling issues  (NEGATIVE_RETURNS)
/sc/source/ui/view/viewdata.cxx: 3339 in ScViewData::ReadUserData(std::basic_string_view<char16_t, std::char_traits<char16_t>>)()
3333         sal_Unicode cMode = o3tl::getToken(aZoomStr, 2, '/', nIdx)[0];     // 0 or "0"/"1"
3334         SetPagebreakMode( cMode == '1' );
3335         // SetPagebreakMode must always be called due to CalcPPT / RecalcPixPos()
3336     
3337         // sheet may have become invalid (for instance last version):
3338         SCTAB nNewTab = static_cast<SCTAB>(o3tl::toInt64(o3tl::getToken(rData, 0, ';', nMainIdx)));
>>>     CID 1504074:  Integer handling issues  (NEGATIVE_RETURNS)
>>>     "nNewTab" is passed to a parameter that cannot be negative.
3339         if (mrDoc.HasTable(nNewTab))
3340             SetTabNo(nNewTab);
3341     
3342         // if available, get tab bar width:
3343         const sal_Int32 nMainIdxRef {nMainIdx};
3344         std::u16string_view aTabOpt = o3tl::getToken(rData, 0, ';', nMainIdx);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D0zDy_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiaUJNvlCq4ij5DSrRhpFH621TKgDyPEvfdPz8Pt1MppgZYjj2Q5NjlZc4gB-2Bf8A6Q0ojB4m-2FlL3fI1jiMGhCEg8-2BRigHJSrxlZT8R1KdfbIi5YNJNpxJk2K0W3fTjAkHpgREtFlADEu96YR04hw31CyqKk4gYAs3cXLYcFa863yQ-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux