Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index



Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

3 new defect(s) introduced to LibreOffice found with Coverity Scan.
6 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 3 of 3 defect(s)


** CID 1425725:  Incorrect expression  (MIXED_ENUMS)
/sw/source/uibase/config/modcfg.cxx: 258 in SwRevisionConfig::SwRevisionConfig()()


________________________________________________________________________________________________________
*** CID 1425725:  Incorrect expression  (MIXED_ENUMS)
/sw/source/uibase/config/modcfg.cxx: 258 in SwRevisionConfig::SwRevisionConfig()()
252         aInsertAttr.m_nAttr = LINESTYLE_SINGLE;
253         aInsertAttr.m_nColor = COL_TRANSPARENT;
254         aDeletedAttr.m_nItemId = SID_ATTR_CHAR_STRIKEOUT;
255         aDeletedAttr.m_nAttr = STRIKEOUT_SINGLE;
256         aDeletedAttr.m_nColor = COL_TRANSPARENT;
257         aFormatAttr.m_nItemId = SID_ATTR_CHAR_WEIGHT;
    CID 1425725:  Incorrect expression  (MIXED_ENUMS)
    Mixing enum types "FontLineStyle" and "FontWeight" for "m_nAttr".
258         aFormatAttr.m_nAttr = WEIGHT_BOLD;
259         aFormatAttr.m_nColor = COL_BLACK;
260     
261         Load();
262     }
263     

** CID 1425724:  Incorrect expression  (MIXED_ENUMS)
/sw/source/uibase/config/modcfg.cxx: 255 in SwRevisionConfig::SwRevisionConfig()()


________________________________________________________________________________________________________
*** CID 1425724:  Incorrect expression  (MIXED_ENUMS)
/sw/source/uibase/config/modcfg.cxx: 255 in SwRevisionConfig::SwRevisionConfig()()
249             ConfigItemMode::DelayedUpdate|ConfigItemMode::ReleaseTree)
250     {
251         aInsertAttr.m_nItemId = SID_ATTR_CHAR_UNDERLINE;
252         aInsertAttr.m_nAttr = LINESTYLE_SINGLE;
253         aInsertAttr.m_nColor = COL_TRANSPARENT;
254         aDeletedAttr.m_nItemId = SID_ATTR_CHAR_STRIKEOUT;
    CID 1425724:  Incorrect expression  (MIXED_ENUMS)
    Mixing enum types "FontLineStyle" and "FontStrikeout" for "m_nAttr".
255         aDeletedAttr.m_nAttr = STRIKEOUT_SINGLE;
256         aDeletedAttr.m_nColor = COL_TRANSPARENT;
257         aFormatAttr.m_nItemId = SID_ATTR_CHAR_WEIGHT;
258         aFormatAttr.m_nAttr = WEIGHT_BOLD;
259         aFormatAttr.m_nColor = COL_BLACK;
260     

** CID 1425723:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/sc/source/filter/xml/xmlcondformat.cxx: 340 in ScXMLConditionalFormatContext::endFastElement(int)()


________________________________________________________________________________________________________
*** CID 1425723:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/sc/source/filter/xml/xmlcondformat.cxx: 340 in ScXMLConditionalFormatContext::endFastElement(int)()
334                 if (aCacheEntry.mnAge > nOldestAge)
335                 {
336                     nOldestAge = aCacheEntry.mnAge;
337                     nIndexOfOldest = (&aCacheEntry - &mrParent.maCache.front());
338                 }
339             }
    CID 1425723:  Memory - illegal accesses  (WRAPPER_ESCAPE)
    The internal representation of local "pFormat" escapes into 
"this->mrParent.maCache[nIndexOfOldest].mpFormat", but is destroyed when it exits scope.
340             mrParent.maCache[nIndexOfOldest].mpFormat = pFormat.get();
341             mrParent.maCache[nIndexOfOldest].mbSingleRelativeReference = 
bSingleRelativeReference;
342             mrParent.maCache[nIndexOfOldest].mpTokens.reset(pTokens);
343             mrParent.maCache[nIndexOfOldest].mnAge = 0;
344         }
345     


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpygVWKkSaWNlrIEDKn7TRhHPiZynzUYWzqxDsB0RAMNA43EGS3SV1G3Y027u7b0RMtw4s4m96fd4iurSGHLRE-2Faq1NoAPwKfy0bGqx7FL-2FsEjQwKq8cJJQkWQxEYxU9kBGvBKulw6u7UinLL6qh5dte5HvPPR5VZmlUy4ldJIpTfU-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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpygVWKkSaWNlrIEDKn7TRhHFbcvhnUVKi91KPiJPKgnGk-2BB6O-2FQnU9go-2B5FJ4eQYowNKtS-2BuuNnlwHo2bKrVS16LV3ehetIf6awq6JCifJ5jw-2Fk4cM3tXMjp5SvSlQ-2BjcBtTz6s-2BPvgbssFuup22wLqwb65140RQ3mpzFazgT5hiA-3D


Context


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.