Files
xen/stubdom/vtpmmgr
Jason Andryuk 5974702bdd vtpmmgr: Check req_len before unpacking command
vtpm_handle_cmd doesn't ensure there is enough space before unpacking
the req buffer.  Add a minimum size check.  Called functions will have
to do their own checking if they need more data from the request.

The error case is tricky since abort_egress wants to rely with a
corresponding tag.  Just hardcode TPM_TAG_RQU_COMMAND since the vtpm is
sending in malformed commands in the first place.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com>
2021-05-10 14:50:33 +01:00
..
2014-04-23 11:56:41 +01:00
2014-04-23 11:56:41 +01:00
2014-04-23 11:56:41 +01:00
2014-04-23 11:56:41 +01:00
2014-04-23 11:56:41 +01:00
2014-04-23 11:56:41 +01:00
2016-11-11 02:02:15 +00:00
2014-04-23 11:56:41 +01:00
2015-01-28 12:54:49 +00:00
2013-01-18 10:55:43 +00:00
2017-08-09 14:02:07 +01:00
2017-08-09 14:02:07 +01:00
2013-01-18 10:55:43 +00:00
2014-04-23 11:56:41 +01:00
2014-04-23 11:56:41 +01:00
2021-05-10 14:49:01 +01:00
2021-01-14 13:03:23 +01:00

About
=====
This documents the upstream sources for files in this directory.

According to the header files, the following files are based off
the original tools/vtpm_manager code base in xen.git. This directory
has since been (commit b918dce5bb2a665a34ff893a9df5392fb8ea429d)

init.c
log.c
log.h
marshal.h
tcg.h
tpm.c
tpm.h
tpm2.c
tpm2.h
tpm2_marshal.h
vtpm_cmd_handler.c
vtpm_manager.h
vtpmmgr.c
vtpmmgr.h

uuid.h - This file does not appear to be part of the original
tools/vtpm_manager code. It's origin is unclear, but it is
trivial and likely not copyrightable under "fair use"
provisions.