[Kde-pim] Review Request: Don't crash while migrating

Sergio Luis Martins iamsergio at gmail.com
Wed Mar 2 00:09:24 GMT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100779/
-----------------------------------------------------------

Review request for KDEPIM and Volker Krause.


Summary
-------

If we add to the list while iterating, the iterator becomes invalid and the application crashes.

The add is here: mManager->add( clientBridge );

The patch makes a copy of the list at the beginning.


Diffs
-----


Diff: http://git.reviewboard.kde.org/r/100779/diff


Testing
-------


Thanks,

Sergio Luis

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list