Skip to content
Commit 57543f6b authored by Jonathan Marten's avatar Jonathan Marten Committed by Laurent Montel
Browse files

Fix KMail crash when adding too many recipients

MultiplyingLineView::addLine() returns a null pointer if the limit
has been reached, but MultiplyingLineView::slotReturnPressed() uses
the pointer without a null check.

A quick crash fix.  Still needs further investigation because the "too
many recipients" error box is shown when it should not be.  See D28876
for more information.

Differential Revision: https://phabricator.kde.org/D28876

(cherry picked from commit 86a8cc0c)
parent 78fffa88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment