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 1666675:       Null pointer dereferences  (FORWARD_NULL)


_____________________________________________________________________________________________
*** CID 1666675:         Null pointer dereferences  (FORWARD_NULL)
/sd/source/filter/pdf/sdpdffilter.cxx: 286             in TestFODGExportPDF()
280     
281         uno::Reference<css::frame::XLoadable> xModelLoad(xModel, 
uno::UNO_QUERY_THROW);
282         xModelLoad->initNew();
283     
284         SdXImpressDocument* pDrawDoc = 
dynamic_cast<SdXImpressDocument*>(xModel.get());
285     
>>>     CID 1666675:         Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "pDrawDoc" to "GetDoc", which dereferences it.
286         bool ret = ImportPDF(rStream, *pDrawDoc->GetDoc());
287     
288         if (ret)
289         {
290             utl::TempFileFast aTempFile;
291     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

Reply via email to