diff -r 2b9c00e2ab55 -r 150a5dd64ae5 gba/gbaserver/src/dataretriever.cpp --- a/gba/gbaserver/src/dataretriever.cpp Mon Mar 08 21:44:12 2010 +0000 +++ b/gba/gbaserver/src/dataretriever.cpp Sun Mar 14 13:12:09 2010 +0000 @@ -829,7 +829,14 @@ { THTTPHdrVal requestUri; RHTTPTransactionPropertySet propSet = aTransaction.PropertySet(); - propSet.Property( stringPool.StringF(HTTP::EUri,RHTTPSession::GetTable()), requestUri ); + TBool exist = propSet.Property( stringPool.StringF(HTTP::EUri,RHTTPSession::GetTable()), requestUri ); + + if(!exist) + { + CleanupStack::PopAndDestroy( pushCount ); + return KErrNotFound; + } + //save rsp auth calcuation //Save the string handle for rsp auth checking //Close the previous handle, then set new one @@ -906,7 +913,14 @@ { THTTPHdrVal fieldVal;// The name of the current field. THTTPHdrVal hdrVal;//A scratch hdrVal - headers.GetField(wwwAuthenticate, i, fieldVal); + + TInt error = headers.GetField(wwwAuthenticate, i, fieldVal); + + if(error != KErrNone) + { + return KErrNotFound; + } + switch ( fieldVal.StrF().Index(RHTTPSession::GetTable() ) ) { case HTTP::EDigest: