[Kde-pim] Review Request 111826: Fix use of uninitialised variable

Thiago Macieira thiago at kde.org
Wed Jul 31 22:16:07 BST 2013


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

(Updated July 31, 2013, 9:16 p.m.)


Status
------

This change has been discarded.


Review request for Akonadi.


Description
-------

Fix use of uninitialised variable

This variable was added in 534af325 (three days ago).

Valgrind rightfully complains:

==59376== Conditional jump or move depends on uninitialised value(s)
==59376==    at 0x470DF7: Akonadi::FetchHelper::parseStream(QByteArray const&) (fetchhelper.cpp:278)
==59376==    by 0x46C905: Akonadi::Fetch::parseStream() (fetch.cpp:44)
==59376==  Uninitialised value was created by a stack allocation
==59376==    at 0x46C890: Akonadi::Fetch::parseStream() (fetch.cpp:35)


Diffs
-----

  c/asapcat/CMakeLists.txt 8bea799ccb6ee222da7650f71a51b0111c1b6c6f 
  c/server/src/handler/fetchhelper.cpp 9c0031172065e0d5b15b6b6ae7da3c6b4b9014c3 

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


Testing
-------


Thanks,

Thiago Macieira

_______________________________________________
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