Suspicious code in kdeedu-3.5.2
Christoph Bartoschek
bartoschek at gmx.de
Sat Apr 22 12:50:00 BST 2006
Am Samstag, 22. April 2006 13:13 schrieb Albert Astals Cid:
> > - blinken/src/blinken.cpp:442
> >
> > i can become 4 if selected is always false. Then the else part in line
> > 434 is chosen and in line 442 you have an out of bounds access.
>
> Errrrrrm, how?
> line 444 (i guess you speak about that) has
> m_buttons[button] -> setSelected(true);
> and button is always >= 0 && <= 3
Ok, an assertion would make this clear. But I reported this because I had the
if condition in line 436 in mind. My fault.
Christoph
More information about the kde-core-devel
mailing list