New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Nov 15 23:25:42 UTC 2016


Hi,

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

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


** CID 1394372:  Integer handling issues  (DIVIDE_BY_ZERO)
/vcl/source/fontsubset/sft.cxx: 608 in vcl::GetCompoundTTOutline(vcl::TrueTypeFont *, unsigned int, vcl::ControlPoint **, vcl::TTGlyphMetrics *, std::vector<unsigned int, std::allocator<unsigned int>> &)()


________________________________________________________________________________________________________
*** CID 1394372:  Integer handling issues  (DIVIDE_BY_ZERO)
/vcl/source/fontsubset/sft.cxx: 608 in vcl::GetCompoundTTOutline(vcl::TrueTypeFont *, unsigned int, vcl::ControlPoint **, vcl::TTGlyphMetrics *, std::vector<unsigned int, std::allocator<unsigned int>> &)()
602     
603             abs1 = (a < 0) ? -a : a;
604             abs2 = (b < 0) ? -b : b;
605             m    = (abs1 > abs2) ? abs1 : abs2;
606             abs3 = abs1 - abs2;
607             if (abs3 < 0) abs3 = -abs3;
>>>     CID 1394372:  Integer handling issues  (DIVIDE_BY_ZERO)
>>>     Assigning: "m" *= "2". The value of "m" is now 0.
608             if (abs3 <= 33) m *= 2;
609     
610             abs1 = (c < 0) ? -c : c;
611             abs2 = (d < 0) ? -d : d;
612             n    = (abs1 > abs2) ? abs1 : abs2;
613             abs3 = abs1 - abs2;


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyHSpo7VYhU0WSeMMFQJXf9cvWWJAXQTN-2BlwoB321u2jM8tp97AZHJPSjM1mutG1a-2BUDx8IqxIiVB2p6w2uyK6Ke-2FpiYaWqTBFTbikE64-2BUVXeftKyJLik4WaZrJtoVr01mnGn8ONIWAZVKyT0JIQRzo0z0IalBBEbOrppbodGrzY-3D

To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyHSpo7VYhU0WSeMMFQJXf9eQH0SgM3Vuu09vdPA-2Bjv0seqkPrMur3xy-2BOefc4RCgV8OuWIlhavvbm6DMBpEj3ZztljvofH9vm4bKrdb4cQlCpgsDdMV9VkLERl54rrRhVpJp4zDHSub2geliVU6QiVWrkHwlQvg8nAgh1LgCB6Kw-3D



More information about the LibreOffice mailing list