commit | 372bf79d67ed21cb0eab5bc92e8806a0a9507a65 | [log] [tgz] |
---|---|---|
author | Andres AG <andres.amayagarcia@arm.com> | Fri Sep 02 15:23:48 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Thu Oct 13 12:45:07 2016 +0100 |
tree | 77eb11ebbf6616837796dc025a0492a37d93c45b | |
parent | 80d191bbe98221e0c2ee19b8f77f454a52692c5a [diff] |
Add missing bounds check in X509 DER write funcs This patch adds checks in both mbedtls_x509write_crt_der and mbedtls_x509write_csr_der before the signature is written to buf using memcpy().