Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found
with Coverity Scan.
6 new defect(s) introduced to LibreOffice found with Coverity Scan.
4 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 6 of 6 defect(s)
** CID 1665373: Program hangs (LOCK)
_____________________________________________________________________________________________
*** CID 1665373: Program hangs (LOCK)
/sd/source/core/annotations/Annotation.cxx: 214 in
sd::Annotation::createChangeUndo()()
208 }
209 }
210
211 void Annotation::createChangeUndo()
212 {
213 std::unique_lock g(m_aMutex);
>>> CID 1665373: Program hangs (LOCK)
>>> "createChangeUndoImpl" locks "this->m_aMutex" while it is locked.
214 createChangeUndoImpl(g);
215 }
216
217 void Annotation::createChangeUndoImpl(std::unique_lock<std::mutex>& g)
218 {
219 SdrModel* pModel = GetModel(); // TTTT should use reference
** CID 1665372: Program hangs (LOCK)
_____________________________________________________________________________________________
*** CID 1665372: Program hangs (LOCK)
/sd/source/core/annotations/Annotation.cxx: 206 in
sd::Annotation::setDateTime(const com::sun::star::util::DateTime &)()
200
201 void SAL_CALL Annotation::setDateTime(const util::DateTime & the_value)
202 {
203 prepareSet(u"DateTime"_ustr, uno::Any(), uno::Any(), nullptr);
204 {
205 std::unique_lock g(m_aMutex);
>>> CID 1665372: Program hangs (LOCK)
>>> "createChangeUndoImpl" locks "this->m_aMutex" while it is locked.
206 createChangeUndoImpl(g);
207 m_DateTime = the_value;
208 }
209 }
210
211 void Annotation::createChangeUndo()
** CID 1665371: Program hangs (LOCK)
_____________________________________________________________________________________________
*** CID 1665371: Program hangs (LOCK)
/sd/source/core/annotations/Annotation.cxx: 158 in
sd::Annotation::setSize(const com::sun::star::geometry::RealSize2D &)()
152
153 void SAL_CALL Annotation::setSize(const geometry::RealSize2D &
the_value)
154 {
155 prepareSet(u"Size"_ustr, uno::Any(), uno::Any(), nullptr);
156 {
157 std::unique_lock g(m_aMutex);
>>> CID 1665371: Program hangs (LOCK)
>>> "createChangeUndoImpl" locks "this->m_aMutex" while it is locked.
158 createChangeUndoImpl(g);
159 m_Size = the_value;
160 }
161 }
162
163 OUString SAL_CALL Annotation::getAuthor()
** CID 1665370: Program hangs (LOCK)
_____________________________________________________________________________________________
*** CID 1665370: Program hangs (LOCK)
/sd/source/core/annotations/Annotation.cxx: 190 in
sd::Annotation::setInitials(const rtl::OUString &)()
184
185 void SAL_CALL Annotation::setInitials(const OUString & the_value)
186 {
187 prepareSet(u"Initials"_ustr, uno::Any(), uno::Any(), nullptr);
188 {
189 std::unique_lock g(m_aMutex);
>>> CID 1665370: Program hangs (LOCK)
>>> "createChangeUndoImpl" locks "this->m_aMutex" while it is locked.
190 createChangeUndoImpl(g);
191 m_Initials = the_value;
192 }
193 }
194
195 util::DateTime SAL_CALL Annotation::getDateTime()
** CID 1665369: Program hangs (LOCK)
_____________________________________________________________________________________________
*** CID 1665369: Program hangs (LOCK)
/sd/source/core/annotations/Annotation.cxx: 174 in
sd::Annotation::setAuthor(const rtl::OUString &)()
168
169 void SAL_CALL Annotation::setAuthor(const OUString & the_value)
170 {
171 prepareSet(u"Author"_ustr, uno::Any(), uno::Any(), nullptr);
172 {
173 std::unique_lock g(m_aMutex);
>>> CID 1665369: Program hangs (LOCK)
>>> "createChangeUndoImpl" locks "this->m_aMutex" while it is locked.
174 createChangeUndoImpl(g);
175 m_Author = the_value;
176 }
177 }
178
179 OUString SAL_CALL Annotation::getInitials()
** CID 1665368: Program hangs (LOCK)
_____________________________________________________________________________________________
*** CID 1665368: Program hangs (LOCK)
/sd/source/core/annotations/Annotation.cxx: 141 in
sd::Annotation::setPosition(const com::sun::star::geometry::RealPoint2D &)()
135
136 void SAL_CALL Annotation::setPosition(const geometry::RealPoint2D &
the_value)
137 {
138 prepareSet(u"Position"_ustr, uno::Any(), uno::Any(), nullptr);
139 {
140 std::unique_lock g(m_aMutex);
>>> CID 1665368: Program hangs (LOCK)
>>> "createChangeUndoImpl" locks "this->m_aMutex" while it is locked.
141 createChangeUndoImpl(g);
142 m_Position = the_value;
143 }
144 }
145
146 // css::office::XAnnotation:
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/libreoffice?tab=overview