re-send:VTPM manager :Fix parameter check]
PATCH 1/1 re-send:VTPM manager :Fix parameter check]
Hi,
If vtpm_managed is started with the same vtpm instance, the following error occurs . Attached is a patch that fixes the error.
++++++++++++
Loading NVM.
Sending LoadNVM command
INFO[VTSP]: Unbinding 256 bytes of data.
ERROR in VTSP_Unbind at vtsp.c:719 code: TPM_BAD_PARAMETER.
ERROR in envelope_decrypt at securestorage.c:156 code:TPM_BAD_PARAMETER. ERROR[VTPM]: Failed to envelope decrypt data
.ERROR in VTPM_Handle_Load_NVM at securestorage.c:284 code: TPM_BAD_PARAMETER. ERROR[VTPM]: Failed to load NVM
.INFO[VTPM]: [VTPM Listener]: VTPM Listener waiting for messages.
Reading LoadNVM header
++++++++++++
Thanks
Kouichi YASAKI
tools/vtpm_manager/tcs/tcs.c +1 -1
@@ -775,7 +777,7 @@ TPM_RESULT TCSP_UnBind(TCS_CONTEXT_HANDLTDDL_UINT32 OutLength =TCPA_MAX_BUFFER_LENGTH ;// check input params -if (inData ==NULL || privAuth ==NULL || outDataSize ==NULL || *outData ==NULL ) +if (inData ==NULL || privAuth ==NULL || outDataSize ==NULL || outData ==NULL )return TPM_BAD_PARAMETER ;// Convert Byte Input parameter in the input byte stream InBuf
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel