mtpfws/mtpfw/src/cmtpparserrouter.cpp
branchRCL_3
changeset 14 60a94a45d437
parent 12 8b094906a049
child 19 ef55b168cedb
--- 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));