ipsservices/ipssosplugin/src/ipsplgmrulist.cpp
branchRCL_3
changeset 73 c8382f7b54ef
parent 64 3533d4323edc
--- a/ipsservices/ipssosplugin/src/ipsplgmrulist.cpp	Tue Sep 14 20:48:24 2010 +0300
+++ b/ipsservices/ipssosplugin/src/ipsplgmrulist.cpp	Wed Sep 15 11:52:37 2010 +0300
@@ -246,7 +246,7 @@
             TInt start( emailAddress.LocateReverse( KIpsSmtpOperationCharLessThan ) ); 
             TInt end( emailAddress.LocateReverse( KIpsSmtpOperationCharMoreThan ) );
             
-            if ( KErrNotFound != start && KErrNotFound != end )
+            if ( KErrNotFound != start && KErrNotFound != end && start < end )
                 {
                 start += 1;
                 emailAddress.Set( aNewMruList->MdcaPoint(i + 1).Mid( start, ( end - start ) ) );