New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Aug 12 06:06:40 UTC 2025


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.
38 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 1662533:       Null pointer dereferences  (NULL_RETURNS)


_____________________________________________________________________________________________
*** CID 1662533:         Null pointer dereferences  (NULL_RETURNS)
/sw/source/uibase/dochdl/swdtflvr.cxx: 2234             in SwTransferable::PasteFileContent(const TransferableDataHelper &, SwWrtShell &, SotClipboardFormatId, bool, bool)()
2228                     {
2229                         aFormats.push_back(SvtResId(STR_FORMAT_ID_MARKDOWN));
2230                     }
2231     
2232                     if(aFormats.size() > 1)
2233                     {
>>>     CID 1662533:         Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a pointer that might be "nullptr" "GetActiveView()" when calling "GetFrameWeld".
2234                         GenericDropDownFieldDialog aDialog(GetActiveView()->GetFrameWeld(),
2235                                                            SvxResId(RID_SVXSTR_PASTE_AS_DIALOG_TITLE),
2236                                                            aFormats);
2237                         short nRet = aDialog.run();
2238                         if( nRet == RET_OK)
2239                         {


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250812/8e59e517/attachment.htm>


More information about the LibreOffice mailing list