commit | 3ad6b8a319fbdfef063937e8d6e8ed7611014b3a | [log] [tgz] |
---|---|---|
author | Cedric Auger <cauger@provenrun.com> | Wed Sep 11 16:38:42 2019 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Thu Sep 12 16:49:29 2019 +0200 |
tree | 4953f11cb9b02aacfeff04d7f8ee6d742fbc11e8 | |
parent | e668b3fe7e108ba2ef44b6b69120470e72a165cb [diff] |
Call TEE_CreatePersistentObject() with a valid pointer According to GP specification, passing a NULL pointer to TEE_OpenPersistentObject() and TEE_CreatePersistentObject() should panic the trusted application. Current code is using a NULL pointer and expects success. After creation (and opening) of the new object, it should also be closed: we cannot expect to do anything on it. Signed-off-by: Cedric Auger <cedric.auger@provenrun.com> Reviewed-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
This git contains source code for the test suite (xtest) used to test the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.
// OP-TEE core maintainers