[kmail2] [Bug 363723] Kmail crashes when "Server supports sieve" enabled

Wouter Haffmans bugzilla_noreply at kde.org
Wed Mar 22 00:08:50 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=363723

--- Comment #17 from Wouter Haffmans <wouter at simply-life.net> ---
I still experience this crash with the current (2017-03-21) source build.

Digging through the code and the stack trace, it seems the problem is in
libksieve's VacationCheckJob::getNextScript() method.

This code does a range of mScriptPos check on a list mAvailableScripts (through
isLastScript()), but then doesn't return. This causes
"mAvailableScripts[mScriptPos]" (line 185 in vacationcheckjob.cpp) to be out of
range and triggers the crash.

It seems to me that adding a return statement if the last script is reached
will solve the crash, but I haven't confirmed that yet.

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


More information about the Kdepim-bugs mailing list