[Kmymoney-devel] Segmentation fault in MyMoneyStorageXML::signalProgress

Michaël Lhomme papylhomme at gmail.com
Thu Oct 15 21:46:20 CEST 2009


Hello,

I found a bug when trying to load a KMM file from a custom program (an
akonadi resource). The "m_progressCallback" isn't initialized by constructor
but only by "setProgressCallback", so it produce a segmentation fault when
method "MyMoneyStorageXML::signalProgress" is called without setting a
callback.

Here is a small patch fixing this.

Regards

-- 
Michaël Lhomme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091015/725c8742/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyMoneyStorageXML_segmentation_fault.patch
Type: application/octet-stream
Size: 305 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091015/725c8742/attachment.dll 


More information about the KMyMoney-devel mailing list