commit | 458e4b6023d5d6e102b7b856c9004d0fb839f9d5 | [log] [tgz] |
---|---|---|
author | Cyrille Fleury <cyrille.fleury@nxp.com> | Thu Oct 28 13:37:40 2021 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Nov 08 10:16:58 2021 +0100 |
tree | 8a814425a453c34baffd87a4fd8be3fef8ac343f | |
parent | d6b7e4113146d42fbc62831bc2c65008f9ad4363 [diff] |
xtest: sdp: fix resource leak in get_random_bytes() Close file descriptor before returning when failing to read from /dev/urandom. Fixes: 41343db4 ("xtest: add SDP basic tests") Signed-off-by: Cyrille Fleury <cyrille.fleury@nxp.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