diff -r 3d340a0166ff -r 941195f2d488 uifw/AvKon/src/AknIndicatorContainer.cpp --- a/uifw/AvKon/src/AknIndicatorContainer.cpp Tue May 11 16:27:42 2010 +0300 +++ b/uifw/AvKon/src/AknIndicatorContainer.cpp Tue May 25 12:58:19 2010 +0300 @@ -855,7 +855,14 @@ EXPORT_C CCoeControl* CAknIndicatorContainer::ComponentControl(TInt aIndex) const { - return iIndicators->At(aIndex); + if ( aIndex >= 0 && aIndex < iIndicators->Count() ) + { + return iIndicators->At( aIndex ); + } + else + { + return NULL; + } }