Review Request 120129: Fix Iteration of Array mm

David Narváez david.narvaez at
Fri Sep 12 13:47:43 UTC 2014

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

(Updated Sept. 12, 2014, 1:47 p.m.)

Review request for KDE Edu, Maurizio Paolini and Rex Dieter.


Iterate using for loops

Bugs: 338978

Repository: kig


Because of the initial value of j it was missing j = 1, causing Valgrind to report a jump over uninitialized value. Because of the check at the while loop, it was modifying j = N + 1, causing a stack buffer overflow.

Diffs (updated)

  objects/ 12931c8 



Valgrinded an execution of Kig creating a locus as described in the bug report.


David Narváez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-edu mailing list