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.
2 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 1485166:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1485166:  Uninitialized variables  (UNINIT)
/usr/include/c++/9/bits/unique_ptr.h: 857 in std::make_unique<SvxRTFItemStackType, SvxRTFItemStackType &, EditPosition &, bool>(T2 &&...)()
851         { struct __invalid_type { }; };
852     
853       /// std::make_unique for single objects
854       template<typename _Tp, typename... _Args>
855         inline typename _MakeUniq<_Tp>::__single_object
856         make_unique(_Args&&... __args)
>>>     CID 1485166:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "<storage from new>->mxStartNodeIdx" when calling "SvxRTFItemStackType".
857         { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
858     
859       /// std::make_unique for arrays of unknown bound
860       template<typename _Tp>
861         inline typename _MakeUniq<_Tp>::__array
862         make_unique(size_t __num)

** CID 1485165:  Low impact quality  (MISSING_MOVE_ASSIGNMENT)
/include/vcl/GraphicObject.hxx: 51 in ()


________________________________________________________________________________________________________
*** CID 1485165:  Low impact quality  (MISSING_MOVE_ASSIGNMENT)
/include/vcl/GraphicObject.hxx: 51 in ()
45     }
46     
47     class VirtualDevice;
48     struct GrfSimpleCacheObj;
49     struct ImplTileInfo;
50     
>>>     CID 1485165:  Low impact quality  (MISSING_MOVE_ASSIGNMENT)
>>>     Class "GraphicObject" may benefit from adding a move assignment operator. See other events which show the copy assignment operator being applied to rvalues, where a move assignment may be faster.
51     class VCL_DLLPUBLIC GraphicObject
52     {
53         friend class SdrGrafObj;
54     
55     private:
56         Graphic                 maGraphic;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DTygO_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi-2BTNIDddeEVJld2fWNGRUNiZ70nUjR1e3GIZHqux1ThqFvIuFjlhlwUXdnPa2g-2BRvpwcBWlUOq84XRQLwEY50L00BpLyCG8vwWFUPvdbKHxb4a3OHhQjedlgwxSnivk8QKuJCZW1boZ4-2B-2FWK0XK6ZtB-2F7YqyVgBQXyaQKnFNYgZA-3D

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



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

  Powered by Linux