New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Apr 18 07:25:09 UTC 2021
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.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1476278: Null pointer dereferences (NULL_RETURNS)
/sw/source/core/unocore/unosrch.cxx: 154 in SwSearchProperties_Impl::FillItemSet(SfxItemSet &, bool) const()
________________________________________________________________________________________________________
*** CID 1476278: Null pointer dereferences (NULL_RETURNS)
/sw/source/core/unocore/unosrch.cxx: 154 in SwSearchProperties_Impl::FillItemSet(SfxItemSet &, bool) const()
148 return rpPoolItem.get();
149 };
150 for(auto const & rPair : maValues)
151 {
152 SfxPoolItem* pTempItem = nullptr;
153 const SfxItemPropertyMapEntry & rPropEntry = *mrMap.getByName(rPair.first);
>>> CID 1476278: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing "rPropEntry", which is known to be "nullptr".
154 sal_uInt16 nWID = rPropEntry.nWID;
155 switch(nWID)
156 {
157 case RES_BOX:
158 pTempItem = funcClone(nWID, pBoxItem);
159 break;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DGiq1_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJikYNyCJ-2BS6a2rTmR05VQRAcSSwnloROgUVYt5V1TqpYtV8gnWFUSt5jHoHgVacwHyCjEBqyZ6CZxLUIrxLTd-2BQp-2BglT-2ByF-2FHgVuxUZQHDOLQDJscE08Qquy2TMz-2BJLYGqYgwtvAaWex194TFHtUV9srFzy5C78zrpEyP4MdTsEyc-3D
More information about the LibreOffice
mailing list