[MacPorts] #45169: qt4-mac: prevent a crash when KDE apps use KMenu::addTitle

MacPorts noreply at macports.org
Fri Sep 26 10:46:08 PDT 2014


#45169: qt4-mac: prevent a crash when KDE apps use KMenu::addTitle
-------------------------+--------------------------------
 Reporter:  rjvbertin@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  High         |  Milestone:
Component:  ports        |    Version:  2.3.1
 Keywords:  haspatch     |       Port:  qt4-mac
-------------------------+--------------------------------
 KDE4 applications can call a KDE4 function that is supposed to add a title
 item to a menu, rendered differently. This works on Linux and on OS X in
 popup menus, but not in menus that are part of the menubar. A very simple
 bug in Qt leads to a null pointer dereference and an immediate crash.

 Attached is a patch for Qt 4.8 that prevents the crash. It does not make
 the KMenu::addTitle function have the intended effect (it remains
 invisible except perhaps the 1st time the menu is opened), nor does it
 prevent other potential related crashes.

-- 
Ticket URL: <https://trac.macports.org/ticket/45169>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list