New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Apr 26 02:52:20 UTC 2022


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 1504268:  Concurrent data access violations  (MISSING_LOCK)
/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx: 695 in dp_gui::ExtensionCmdQueue::Thread::execute()()


________________________________________________________________________________________________________
*** CID 1504268:  Concurrent data access violations  (MISSING_LOCK)
/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx: 695 in dp_gui::ExtensionCmdQueue::Thread::execute()()
689                 while (m_eInput == NONE) {
690                     m_wakeup.wait(aGuard);
691                 }
692                 eInput = m_eInput;
693                 m_eInput = NONE;
694                 nSize = m_queue.size();
>>>     CID 1504268:  Concurrent data access violations  (MISSING_LOCK)
>>>     Accessing "this->m_bWorking" without holding lock "dp_gui::ExtensionCmdQueue::Thread.m_mutex". Elsewhere, "_ZN6dp_gui17ExtensionCmdQueue6ThreadE.m_bWorking" is accessed with "dp_gui::ExtensionCmdQueue::Thread.m_mutex" held 3 out of 4 times (3 of these accesses strongly imply that it is necessary).
695                 m_bWorking = false;
696             }
697     
698             if ( eInput == STOP )
699                 break;
700     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DXlJF_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiQYDOobQ-2BGVFghOJb-2F-2Fz6XMQpmvBxmyrTpT1cEUWA2LHLtkmlylzZ8MA2-2BOp5fQwRcMefHeIIpvAJ4WZxmPJioq2XZQ1W0LYZ1gCCgUeHkf3vGkBDhNIoAvazP0-2BwxPOqVnop9al2aCGH-2Bw2SKEJyDm3n8mZGOiHSmuRfL7bbTOg-3D



More information about the LibreOffice mailing list