diff -r 84d9eb65b26f -r 2981cb3aa489 mmsengine/mmsmessage/src/mmsheaders.cpp --- a/mmsengine/mmsmessage/src/mmsheaders.cpp Mon May 03 12:29:07 2010 +0300 +++ b/mmsengine/mmsmessage/src/mmsheaders.cpp Wed Nov 03 09:52:46 2010 +0530 @@ -351,6 +351,7 @@ stream.AssignLC( aStore, KUidMmsApplicationInfoStream ); // pushes 'stream' to the stack length = ApplicId().Length(); stream.WriteInt32L( length ); + // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35556 if ( length > 0 && iApplicationId ) { stream << iApplicationId->Des(); @@ -358,6 +359,7 @@ length = ReplyApplicId().Length(); stream.WriteInt32L( length ); + // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35559 if ( length > 0 && iReplyToApplicationId ) { stream << iReplyToApplicationId->Des(); @@ -365,7 +367,7 @@ length = AuxApplicInfo().Length(); stream.WriteInt32L( length ); - if ( length > 0 && iApplicationInfo ) + if ( length > 0 ) { stream << iApplicationInfo->Des(); } @@ -387,6 +389,7 @@ length = RecommendedRetrievalModeText().Length(); stream.WriteInt32L( length ); + // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35557 if ( length > 0 && iRecommendedRetrievalModeText ) { stream << iRecommendedRetrievalModeText->Des(); @@ -394,6 +397,7 @@ length = ReplaceCancelId().Length(); stream.WriteInt32L( length ); + // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35558 if ( length > 0 && iReplaceCancelId ) { stream << iReplaceCancelId->Des();