[Libreoffice-bugs] [Bug 141635] New: mvUnoCursorTable not protected by a lock

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 12 02:46:38 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=141635

            Bug ID: 141635
           Summary: mvUnoCursorTable not protected by a lock
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: michael.warner.ut+libreoffice at gmail.com

The mvUnoCursorTable in SwDoc is a publicly-accessible vector that is not
protected by a lock in several places where it is used. While one thread is
iterating through the vector, the cleanupUnoCursorTable() method in the same
class may be called by another thread and call erase on the vector, thereby
invalidating its iterators. This could lead to incorrect behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210412/7e51909b/attachment.htm>


More information about the Libreoffice-bugs mailing list