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.

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


** CID 1489553:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
/vcl/source/filter/svm/SvmReader.cxx: 829 in SvmReader::TextRectHandler(ImplMetaReadData *)()


________________________________________________________________________________________________________
*** CID 1489553:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
/vcl/source/filter/svm/SvmReader.cxx: 829 in SvmReader::TextRectHandler(ImplMetaReadData *)()
823         aSerializer.readRectangle(aRect);
824         OUString aStr = mrStream.ReadUniOrByteString(pData->meActualCharSet);
825         sal_uInt16 nTmp(0);
826         mrStream.ReadUInt16(nTmp);
827     
828         pAction->SetRect(aRect);
>>>     CID 1489553:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
>>>     In "nTmp &= 262143 /* o3tl::is_typed_flags<DrawTextFlags, 262143>::mask */", wider "262143 /* o3tl::is_typed_flags<DrawTextFlags, 262143>::mask */" has high-order bits (0x30000) that don't affect the narrower left-hand side.
829         nTmp &= o3tl::typed_flags<DrawTextFlags>::mask;
830         pAction->SetStyle(static_cast<DrawTextFlags>(nTmp));
831     
832         if (aCompat.GetVersion() >= 2) // Version 2
833             aStr = read_uInt16_lenPrefixed_uInt16s_ToOUString(mrStream);
834     

** CID 1489552:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1489552:  Uninitialized variables  (UNINIT)
/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx: 229 in x86_64::examine_argument(_typelib_TypeDescriptionReference *, int &, int &)()
223        class.  Return 0 iff parameter should be passed in memory.  */
224     bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, int &nUsedGPR, int &nUsedSSE ) noexcept
225     {
226         enum x86_64_reg_class classes[MAX_CLASSES];
227         int n;
228     
>>>     CID 1489552:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "*classes" when calling "classify_argument".
229         n = classify_argument( pTypeRef, classes, 0 );
230     
231         if ( n == 0 )
232             return false;
233     
234         nUsedGPR = 0;

** CID 1489551:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1489551:  Uninitialized variables  (UNINIT)
/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx: 259 in x86_64::return_in_hidden_param(_typelib_TypeDescriptionReference *)()
253     bool x86_64::return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ) noexcept
254     {
255         if (pTypeRef->eTypeClass == typelib_TypeClass_VOID) {
256             return false;
257         }
258         x86_64_reg_class classes[MAX_CLASSES];
>>>     CID 1489551:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "*classes" when calling "classify_argument".
259         return classify_argument(pTypeRef, classes, 0) == 0;
260     }
261     
262     void x86_64::fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64 *pGPR, const double *pSSE, void *pStruct ) noexcept
263     {
264         enum x86_64_reg_class classes[MAX_CLASSES];


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DGk4V_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiz2EtKpeOylstsfsB-2BlTEuRV1mB6hKLHoei9oBgi4O0tZAEi6wFGrJZF-2Bb01gKT2ky20zaXs3CB5PL-2FOCTxjyN5HpXOCEWk7zsvsZY4H1BhPZZr5cCavv-2FP4EoNgBdd5oZ-2BA-2BR3af1HJl-2BbvlxJ-2FU61B8kjTiFpuRMfDdD4uAuuw-3D

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



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

  Powered by Linux