New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Aug 24 10:11:27 UTC 2018


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.
1 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 1438527:  Control flow issues  (NESTING_INDENT_MISMATCH)
/sw/source/filter/ww8/wrtww8.cxx: 3383 in WW8Export::ExportDocument_Impl()()


________________________________________________________________________________________________________
*** CID 1438527:  Control flow issues  (NESTING_INDENT_MISMATCH)
/sw/source/filter/ww8/wrtww8.cxx: 3383 in WW8Export::ExportDocument_Impl()()
3377             pStrmTemp = xWwStrm.get();
3378             pTableStrmTemp = xTableStrm.get();
3379             pDataStrmTemp = xDataStrm.get();
3380     
3381             if ( pDataStrmTemp && pDataStrmTemp != pStrmTemp)
3382                 err = EncryptRC4(aCtx, *pDataStrm, *pDataStrmTemp);
>>>     CID 1438527:  Control flow issues  (NESTING_INDENT_MISMATCH)
>>>     This 'if'  statement is indented to column 13, as if it were nested within the preceding parent statement, but it is not.
3383                 if (err != ERRCODE_NONE) {
3384                     goto done;
3385                 }
3386     
3387             err = EncryptRC4(aCtx, *pTableStrm, *pTableStrmTemp);
3388             if (err != ERRCODE_NONE) {


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpye5MqKofAK7vKtPm6sr9WoLy8WJ7V5T-2FECpQ0VOCuUCepPrBsfWyhIfRVjKpuIgfLLXCeg88MxxomvNJ3s2kqXfylO-2Bb-2FUAf1Ulme8iv2kqQDdA3LsUOFfZ61LYYGtJWyiGV5W0M8j6v-2BcXIFqjOebK7zyAGgUd-2BMhGikzWyw-2Ftw-3D



More information about the LibreOffice mailing list