diff -r e863583e6720 -r c23bdf5a328a securitysettings/qtconfigutils/eapqtplugininfo/src/eapqtpluginhandle.cpp --- a/securitysettings/qtconfigutils/eapqtplugininfo/src/eapqtpluginhandle.cpp Fri Sep 17 08:30:11 2010 +0300 +++ b/securitysettings/qtconfigutils/eapqtplugininfo/src/eapqtpluginhandle.cpp Mon Oct 04 00:19:54 2010 +0300 @@ -17,7 +17,7 @@ */ /* - * %version: 16 % + * %version: 17 % */ // System includes @@ -104,9 +104,17 @@ { } -EapQtPluginHandle::EapQtPluginHandle(const EapQtExpandedEapType& type) : - d_ptr(new EapQtPluginHandlePrivate(type, handleMapper[typeMapper[type.type()]].mUid)) +EapQtPluginHandle::EapQtPluginHandle(const EapQtExpandedEapType& type) { + if (( type.type() < EapQtExpandedEapType::TypeLast) && + ( typeMapper[type.type()] < EapQtPluginHandle::PluginLast) ) + { + d_ptr.reset(new EapQtPluginHandlePrivate(type, handleMapper[typeMapper[type.type()]].mUid)); + } + else + { + d_ptr.reset(NULL); + } } EapQtPluginHandle::EapQtPluginHandle(const EapQtPluginHandle& handle) :