Description of problem: I just tried to compile Core2 Test2 package kdeedu-3.2.1-1 The compiler said celestrongps.cpp(470): warning #175: subscript out of range The source code is if (lastMove[NORTH] && lastMove[SOUTH]) But [root@localhost SPECS]# find ../BUILD/kdeedu-3.2.1/ -name \*.h -print | xargs egrep "NORTH|SOUTH|lastMove" ../BUILD/kdeedu-3.2.1/kstars/kstars/indi/celestrongps.h: int lastMove[4]; ../BUILD/kdeedu-3.2.1/kstars/kstars/indi/lx200generic.h: int lastMove[4]; ../BUILD/kdeedu-3.2.1/kstars/kstars/indi/celestronprotocol.h:#define NORTH 0../BUILD/kdeedu-3.2.1/kstars/kstars/indi/celestronprotocol.h:#define SOUTH 4../BUILD/kdeedu-3.2.1/kstars/kstars/indi/celestronprotocol.h:#define NORTH 4../BUILD/kdeedu-3.2.1/kstars/kstars/indi/celestronprotocol.h:#define SOUTH 0 Clearly broken code. Suggest re-work to avoid reading non existent data. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
It is probably best to report this upstream at bugs.kde.org and add the bug ID here. This looks like a general bug rather than a Red Hat specific one so other vendors (and the authors) would benefit from knowing Thanks for the bug report
I've reported this bug in KDE bugzilla: http://bugs.kde.org/show_bug.cgi?id=91406 If you want to follow what happens to the bug, you can add yourself to the upstream report.
This bug has been fixed in KDE CVS.