--- a/mtpfws/mtpfw/src/cmtpparserrouter.cpp Mon Mar 15 12:43:12 2010 +0200
+++ b/mtpfws/mtpfw/src/cmtpparserrouter.cpp Wed Mar 31 22:58:56 2010 +0300
@@ -1998,6 +1998,10 @@
// Object does not exist.
aParams.SetParam(TRoutingParameters::EFlagInvalid, ETrue);
}
+ else if(!iSingletons.StorageMgr().ValidStorageId(obj->Uint(CMTPObjectMetaData::EStorageId)))
+ {
+ aParams.SetParam(TRoutingParameters::EFlagInvalid, ETrue);
+ }
else
{
aParams.SetParam(CMTPParserRouter::TRoutingParameters::EParamFormatCode, obj->Uint(CMTPObjectMetaData::EFormatCode));