https://bugs.freedesktop.org/show_bug.cgi?id=74931

          Priority: medium
            Bug ID: 74931
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: GtkSalFrame::UpdateSettings() can crash if it can't
                    get an unused graphics instance
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: chris.sherloc...@gmail.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: Inherited From OOo
         Component: Libreoffice
           Product: LibreOffice

In GtkSalFrame::UpdateSettings, we need to get an unused GtkSalGraphics
instance with which to update the settings. To get the graphics, we call on
GtkSalFrame::GetGraphics, however the semantics of this function are such that
if it can't find an unused graphics then it will return NULL to let us know. 

Unfortunately, we don't do a NULL check, and just assume that it will always
return a valid graphics pointer. Hence LO will crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to