smtube: Stack overflow in YTDelegate::layoutText in various scenarios with...
Free media player with support for Youtube
Brought to you by:
rvm
Example:
If in YTDelegate::paint, both item->header and item->desc are set to QString::fromWCharArray(L"신화"), YTDelegate::layoutText will never reach the condition where it will stop calling itself, leading to stack overflow.
Possibly related Qt bug: https://bugreports.qt-project.org/browse/QTBUG-23855
A possible workaround could be to only recurse to a certain depth before bailing out.
Example patch for a temporary workaround
I've just added your patch in svn r5603.