anthonyfieroni added a comment.

  
https://phabricator.kde.org/source/ktexteditor/browse/master/src/render/katelayoutcache.cpp;ad51cece443bc6bb643fa4ca94293a13d3c2f852$321
  The problem is ```realLine >= m_renderer->doc()->lines()``` it return a 
nullptr. First of all 
https://phabricator.kde.org/source/ktexteditor/browse/master/src/render/katelayoutcache.cpp;ad51cece443bc6bb643fa4ca94293a13d3c2f852$368
 should be checked against nullptr, even all other places that line(..) is used 
or better handling of corner case.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D6473

To: jsalatas, #ktexteditor
Cc: anthonyfieroni, dhaumann, kfunk, ltoscano, kwrite-devel, #frameworks

Reply via email to