[Kde-pim] Review Request: Change the unsafe parse() calls to ensureParsed()

Szymon Stefanek pragma at kvirc.net
Sat Feb 25 19:11:23 GMT 2012


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

Review request for KDEPIM and KDEPIM-Libraries.


Description
-------

Change the calls to the unsafe KMime::Contents::parse() method to KMime::Contents::ensureParsed()
so the body of the message isn't accidentally wiped out.

Part of a fix for bug 291171


This addresses bug 291171.
    http://bugs.kde.org/show_bug.cgi?id=291171


Diffs
-----

  mailcommon/filter/filteractionwithcommand.cpp 882a0f1 
  mailcommon/searchpattern.cpp c637bf1 

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


Testing
-------

Compiled and tested locally. Along with another patch to kdepimlibs it fixes bug 291171


Thanks,

Szymon Stefanek

_______________________________________________
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