summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcsdup.c
diff options
context:
space:
mode:
authorjsing <>2019-04-01 15:48:04 +0000
committerjsing <>2019-04-01 15:48:04 +0000
commita75b22a2cc094f47fbed5f4c583901562193c920 (patch)
treed9cf1a8ad7b62400a812c7d2f90b7402b1f5fc83 /src/lib/libc/string/wcsdup.c
parentfa03268a2594c33652da3b07feca76588192a446 (diff)
downloadopenbsd-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/string/wcsdup.c')
0 files changed, 0 insertions, 0 deletions