# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1284545345 -10800 # Node ID ead42e28e5191758862b07d461cf7702d2252486 # Parent 94da73d93b5843f266ec80720bdeb609d610e864 Revision: 201035 Kit: 201036 diff -r 94da73d93b58 -r ead42e28e519 wim/WimServer/src/WimCertHandler.cpp --- 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 { diff -r 94da73d93b58 -r ead42e28e519 wim/WimServer/src/WimCertUtil.cpp --- 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 {