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


On Thu, 2016-08-18 at 06:44 -0700, scan-admin@coverity.com wrote:
Hi,

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

600 new defect(s) introduced to LibreOffice found with Coverity Scan.


New latest version of coverity (8.5.0.2) works with gcc 6.1.1 and seems
to be more C++11 aware. It has a gadzillion warnings about "Incorrect
deallocator use" so I think the use of C++14 global sized deallocation
isn't supported. I'll try to disable the use of that in the next build.

I don't know how useful the new MISSING_MOVE_ASSIGNMENT potential
optimization warning is, but there is a lot of those too.

The recent "remove unused enum values" thing is a concern for me wrt
casting one enum type to another, e.g. the bizarre SfxMapMode and
(tools) MapMode were two enums with the same values in them and there
is code that freely casted from one to the other expecting the values
to be equivalent. The unused enum value cleanup will result in
something quite different happening to code that does that badness.

I've removed the duplication now for that case, but there might be
other places where this sort of problem exists where removing an unused
enum value results in some dodgy enum<->enum cast

C.

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.