New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sat Sep 12 06:09:07 UTC 2020
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 1466690: Null pointer dereferences (REVERSE_INULL)
/sc/source/core/tool/address.cxx: 820 in lcl_ScRange_Parse_XL_R1C1(ScRange &, const char16_t *, const ScDocument *, const ScAddress::Details &, bool, ScAddress::ExternalInfo *, int *)()
________________________________________________________________________________________________________
*** CID 1466690: Null pointer dereferences (REVERSE_INULL)
/sc/source/core/tool/address.cxx: 820 in lcl_ScRange_Parse_XL_R1C1(ScRange &, const char16_t *, const ScDocument *, const ScAddress::Details &, bool, ScAddress::ExternalInfo *, int *)()
814 }
815
816 nFlags |=
817 ScRefFlags::COL_VALID | ScRefFlags::COL2_VALID |
818 ScRefFlags::COL_ABS | ScRefFlags::COL2_ABS;
819 r.aStart.SetCol( 0 );
>>> CID 1466690: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "pDoc" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
820 r.aEnd.SetCol( pDoc ? pDoc->MaxCol() : MAXCOL );
821
822 return bOnlyAcceptSingle ? ScRefFlags::ZERO : nFlags;
823 }
824 else if( nullptr == (p = lcl_r1c1_get_col( p, rDetails, &r.aStart, &nFlags )))
825 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DcqmW_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJilkXVRoVEhjx-2FipOwg7SDZhKeQY6vCU3ap5qTmDrPVnBfGT7cMqJoDOwLoX0S0sUM9PqsSA8SjmUIU-2F-2Br8E4yZ6GbC2n3ioTZIPGIbUF4fBz8DcNtFJXhibUkeFNj4WOawd8Dk9Tq3iK4U6gsHME6t7uABLRfM0RwDT95Z9n3ARjrH9YlZU-2FH-2F1-2FhDiqEYKae
More information about the LibreOffice
mailing list