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.

1 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 1 of 1 defect(s)


** CID 1516751:  Integer handling issues  (NEGATIVE_RETURNS)


________________________________________________________________________________________________________
*** CID 1516751:  Integer handling issues  (NEGATIVE_RETURNS)
/vcl/source/filter/ipdf/pdfdocument.cxx: 897 in vcl::filter::PDFDocument::Sign(const com::sun::star::uno::Reference<com::sun::star::security::XCertificate> &, const rtl::OUString &, bool)()
891         {
892             SAL_WARN("vcl.filter", "PDFDocument::Sign: failed to find page #" << nPage);
893             return false;
894         }
895     
896         PDFObjectElement& rPage = *aPages[nPage];
>>>     CID 1516751:  Integer handling issues  (NEGATIVE_RETURNS)
>>>     "nAppearanceId" is passed to a parameter that cannot be negative.
897         sal_Int32 nAnnotId = WriteAnnotObject(rPage, nSignatureId, nAppearanceId, aSignatureRectangle);
898     
899         if (!WritePageObject(rPage, nAnnotId))
900         {
901             SAL_WARN("vcl.filter", "PDFDocument::Sign: failed to write the updated Page object");
902             return false;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D5uri_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJinhxSAlPR0k0-2FuRlgdpMWW3n-2BETs5D12sNdxcWsnbWXRmWNoWtdnvOKJ-2B875jj40SIci86FnRC4g89rl0m0HfbMtwBQLtZSeH9pPpUYKCvp9Z76UUOQ3lQSoYGCBzU3u30rSxRvPCgOrbnMWBdaMNaGz9A5rdvXsgRTZDzxohypo-3D




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

  Powered by Linux