[Bug 211391] x11-themes/qtcurve-gtk2: NULL pointer dereference causes applications to crash

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 26 18:15:54 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211391

            Bug ID: 211391
           Summary: x11-themes/qtcurve-gtk2: NULL pointer dereference
                    causes applications to crash
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: makc at FreeBSD.org
          Reporter: f.degner at gmx.de
             Flags: maintainer-feedback?(makc at FreeBSD.org)
          Assignee: makc at FreeBSD.org

Created attachment 173014
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173014&action=edit
Fix NULL pointer dereference in gtkDrawFlatBox()

qtcurve-gtk2 does not rigorously check for the gtk_paint_flat_box() [0]
parameter "detail" being NULL. This causes certain applications to segfault.
[1]

The attached patch fixes the problem.


[0] https://developer.gnome.org/gtk2/stable/GtkStyle.html#gtk-paint-flat-box
[1] https://bugs.kde.org/show_bug.cgi?id=343704

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list