--- a/wim/WimServer/src/WimCertHandler.cpp Tue Sep 14 22:56:01 2010 +0300
+++ b/wim/WimServer/src/WimCertHandler.cpp Wed Sep 15 13:09:05 2010 +0300
@@ -566,7 +566,7 @@
pushedItemCount++;
TPtrC8 undecodedUsage;
- undecodedUsage.Set( ptTrustedUsage.pb_buf );
+ undecodedUsage.Set( ptTrustedUsage.pb_buf, ptTrustedUsage.ui_buf_length );
if ( ptTrustedUsage.ui_buf_length == 0 ) // No OIDs
{
--- a/wim/WimServer/src/WimCertUtil.cpp Tue Sep 14 22:56:01 2010 +0300
+++ b/wim/WimServer/src/WimCertUtil.cpp Wed Sep 15 13:09:05 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-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"
@@ -1115,7 +1115,7 @@
CleanupPushWimBufL( ptTrustedUsage );
TPtrC8 undecodedUsage;
- undecodedUsage.Set( ptTrustedUsage.pb_buf );
+ undecodedUsage.Set( ptTrustedUsage.pb_buf, ptTrustedUsage.ui_buf_length );
if ( ptTrustedUsage.ui_buf_length == 0 ) // No OIDs
{