CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/04/01 09:48:04
Modified files:
lib/libcrypto/asn1: tasn_dec.c tasn_enc.c tasn_fre.c tasn_new.c
tasn_prn.c
Log message:
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@