[Kmymoney-devel] Review Request: An extra check that should be necessary in PivotTable::assignCell determined just by looking at the code

Cristian Oneț onet.cristian at gmail.com
Fri Jan 6 10:09:43 UTC 2012

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 6, 2012, 10:09 a.m.)

Review request for KMymoney.

Description (updated)

Looking at BUG 282107 I found a lot of reports with the same stack trace [1]. Some of the are reported in 4.5.0, 4.5.1 and others in 4.5.3.
BUG 255135 was reported in 4.5.0 and fixed by Thomas in 4.5.2 (between 4.5.1 and 4.5.2) but as you can see from the other reports the bug is still there (the same stack trace).
Since I can't reproduce those bugs I tried looking at the code and came to the conclusion that this check would be necessary since later a QList::operator[] is used without proper boundary checks. 

[1] https://bugs.kde.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__all__&product=kmymoney4&content=getLcd

This addresses bug 282107.


  kmymoney/reports/pivottable.cpp 565c71b 

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




Cristian Oneț

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20120106/1cd5217a/attachment.html>

More information about the KMyMoney-devel mailing list