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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1531780:  Null pointer dereferences  (NULL_RETURNS)
/sc/source/filter/oox/autofilterbuffer.cxx: 444 in oox::xls::ColorFilter::finalizeImport()()


________________________________________________________________________________________________________
*** CID 1531780:  Null pointer dereferences  (NULL_RETURNS)
/sc/source/filter/oox/autofilterbuffer.cxx: 444 in oox::xls::ColorFilter::finalizeImport()()
438         if (!pStyleSheet)
439             return aSettings;
440     
441         const SfxItemSet& rItemSet = pStyleSheet->GetItemSet();
442         // Color (whether text or background color) is always stored in ATTR_BACKGROUND
443         const SvxBrushItem* pItem = rItemSet.GetItem<SvxBrushItem>(ATTR_BACKGROUND);
>>>     CID 1531780:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing "pItem->GetFiltColor()", which is known to be "nullptr".
444         ::Color aColor = pItem->GetFiltColor();
445         util::Color nColor(aColor);
446         aSettings.appendField(true, nColor, mbIsBackgroundColor);
447         return aSettings;
448     }
449     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DjTil_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiGs-2F8cYct9ORVxABPoYjGwgQrEUP2P7kVdPgjBGSOTLZBueMpZNtNlbLS9ouJlaUdKJDeD1krKFQ8UR14BKlWIk7pw4-2Bk30ZkYzM68p311XC2us2rvnPDaxsyG5MVSxaTIfUsF21YVftRrIkALP9KBe1-2BD5-2FlbB5cva6Y-2BS9CiNQ-3D




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

  Powered by Linux