[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 69004] another crash in kacctimap
From:       Till Adam <adam () kde ! org>
Date:       2003-11-27 14:01:55
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=69004     




------- Additional Comments From adam@kde.org  2003-11-27 15:01 -------
Subject: Re:  another crash in kacctimap

On Thursday 27 November 2003 09:02, Stephan Kulow wrote:

> ------- Additional Comments From coolo@kde.org  2003-11-27 09:02 -------
> This is the result of the polish jury: Germany 2 points ;)

[snip backtraces]

Thanks, Coolo, this shows that while iterating over the list of folders to 
check mail in that list is modified because a folder is no longer present on 
the server. This leads to the iterator currently in use becoming invalid and 
a crash.

Folks, what's the cleanest way to fix this? Is there a safer way to work with 
QValueList iterators? maybe while(!end) and then immediate increment, before 
the list is potentially changed? Would that be safe?

Till
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic