--- a/ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp Tue Sep 14 20:48:24 2010 +0300
+++ b/ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp Wed Sep 15 11:52:37 2010 +0300
@@ -435,7 +435,7 @@
// is display name with special characters
TInt start( fullName.LocateReverse( KIpsSmtpOperationCharLessThan ) );
TInt end( fullName.LocateReverse( KIpsSmtpOperationCharMoreThan ) );
- if ( KErrNotFound != start && KErrNotFound != end )
+ if ( KErrNotFound != start && KErrNotFound != end && start < end )
{
start += 1;
fullName.Set( aRecipients[i].Mid( start, ( end - start ) ) );