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.

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
5 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 1401593:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/lotuswordpro/source/filter/lwppagelayout.cxx: 316 in LwpPageLayout::RegisterStyle()()


________________________________________________________________________________________________________
*** CID 1401593:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/lotuswordpro/source/filter/lwppagelayout.cxx: 316 in LwpPageLayout::RegisterStyle()()
310     * @descr:   Register master page and page master style
311     *
312     */
313     void LwpPageLayout::RegisterStyle()
314     {
315         std::unique_ptr<XFPageMaster> xpm1(new XFPageMaster());
    CID 1401593:  Memory - illegal accesses  (WRAPPER_ESCAPE)
    The internal representation of local "xpm1" escapes into "this->m_pXFPageMaster", but is 
destroyed when it exits scope.
316         m_pXFPageMaster = xpm1.get();
317     
318         ParseGeometry(xpm1.get());
319         //Does not process LayoutScale, for watermark is not supported in SODC.
320         ParseWaterMark(xpm1.get());
321         ParseMargins(xpm1.get());

** CID 1401592:  Control flow issues  (DEADCODE)
/oox/source/vml/vmlshape.cxx: 803 in oox::vml::SimpleShape::implConvertAndInsert(const 
com::sun::star::uno::Reference<com::sun::star::drawing::XShapes> &, const 
com::sun::star::awt::Rectangle &) const()


________________________________________________________________________________________________________
*** CID 1401592:  Control flow issues  (DEADCODE)
/oox/source/vml/vmlshape.cxx: 803 in oox::vml::SimpleShape::implConvertAndInsert(const 
com::sun::star::uno::Reference<com::sun::star::drawing::XShapes> &, const 
com::sun::star::awt::Rectangle &) const()
797     
798             // When flip has 'x' or 'y', the associated ShapeRect will be changed but direction 
change doesn't occur.
799             // It might occur internally in SdrObject of "sw" module, not here.
800             // The associated properties "PROP_MirroredX" and "PROP_MirroredY" have to be set 
here so that direction change will occur internally.
801             if (bFlipX || bFlipY)
802             {
    CID 1401592:  Control flow issues  (DEADCODE)
    Execution cannot reach the expression "2" inside this statement: 
"aPropSequence.Sequence(((bF...".
803                 css::uno::Sequence< css::beans::PropertyValue > aPropSequence (
804                     bFlipX && bFlipY ? 2 : 1);
805                 int nPropertyIndex = 0;
806                 if (bFlipX)
807                 {
808                     aPropSequence [nPropertyIndex].Name = "MirroredX";


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpynhlF8jHypPkXalZKMkK8XwqEAVKwHw6ursvyYDoCr2XFZD9aa88WNPkdGbLLhFq3DFQGLtgH7FKPzM5Eu-2FluyVSdLmBaA1WN9hsJGqptxpQboWgK7srSbF2FRAILseAeD3cHUE4j4asEwkFTsxPlLoxQKRZCR7C3MjXJRxheOG4-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-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpynhlF8jHypPkXalZKMkK8X9SX8Uwr7bZkiqzXzLpT0U2gpRvChB-2BI1aA-2FCbDyt-2FW9MjrXmQHkNjwdavF6b9Df38P63A8kNRpKK3p4AR1AZSHs3E-2BEHmyYYh-2BTNi3vLmE3pPNNa9LW-2Fz0bnkR9BHa2ZfP5oq0FZ6BiGC5m5jy3Gvs-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.