diff options
author | jsing <> | 2019-04-01 15:48:04 +0000 |
---|---|---|
committer | jsing <> | 2019-04-01 15:48:04 +0000 |
commit | a75b22a2cc094f47fbed5f4c583901562193c920 (patch) | |
tree | d9cf1a8ad7b62400a812c7d2f90b7402b1f5fc83 /src/lib/libc/stdlib/malloc.3 | |
parent | fa03268a2594c33652da3b07feca76588192a446 (diff) | |
download | openbsd-a75b22a2cc094f47fbed5f4c583901562193c920.tar.gz openbsd-a75b22a2cc094f47fbed5f4c583901562193c920.tar.bz2 openbsd-a75b22a2cc094f47fbed5f4c583901562193c920.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/libc/stdlib/malloc.3')
0 files changed, 0 insertions, 0 deletions