diff options
author | jsing <> | 2019-04-01 15:48:04 +0000 |
---|---|---|
committer | jsing <> | 2019-04-01 15:48:04 +0000 |
commit | c668655bd37c10676da50f3d90a2cb88438f14c1 (patch) | |
tree | d9cf1a8ad7b62400a812c7d2f90b7402b1f5fc83 /src/lib/libtls/tls_config.c | |
parent | e813599f2392d1fd8276b9ca150e48dedce013f8 (diff) | |
download | openbsd-c668655bd37c10676da50f3d90a2cb88438f14c1.tar.gz openbsd-c668655bd37c10676da50f3d90a2cb88438f14c1.tar.bz2 openbsd-c668655bd37c10676da50f3d90a2cb88438f14c1.zip |
Require all ASN1_PRIMITIVE_FUNCS functions to be provided.
If an ASN.1 item provides its own ASN1_PRIMITIVE_FUNCS functions, require
all functions to be provided (currently excluding prim_clear). This avoids
situations such as having a custom allocator that returns a specific struct
but then is then printed using the default primative print functions, which
interpret the memory as a different struct.
Found by oss-fuzz, fixes issue #13799.
ok beck@, tb@
Diffstat (limited to 'src/lib/libtls/tls_config.c')
0 files changed, 0 insertions, 0 deletions