diff -r 2b9c00e2ab55 -r 150a5dd64ae5 pkiutilities/PKCS12/CrBer/Src/Crberset.cpp --- a/pkiutilities/PKCS12/CrBer/Src/Crberset.cpp Mon Mar 08 21:44:12 2010 +0000 +++ b/pkiutilities/PKCS12/CrBer/Src/Crberset.cpp Sun Mar 14 13:12:09 2010 +0000 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2000, 2004 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2000, 2004, 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -817,8 +817,8 @@ { handleThisTime = left; } - aData->Read(handled, ptr, handleThisTime); - iTarget->Write(ptr); + User::LeaveIfError( aData->Read(handled, ptr, handleThisTime) ); + User::LeaveIfError( iTarget->Write(ptr) ); ptr.Zero(); handled = handled + handleThisTime;