summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authortb <>2022-02-11 17:37:54 +0000
committertb <>2022-02-11 17:37:54 +0000
commit3e9423819d5b05b96cf6ad8d411708c75f9afbc5 (patch)
tree02b71ac3a99dd34249dd79d0ed13b935d13ccc1e /src/lib/libcrypto/objects/obj_dat.c
parent5a95a1e434fed62d317d132f1d2d12a20fcbc2a0 (diff)
downloadopenbsd-3e9423819d5b05b96cf6ad8d411708c75f9afbc5.tar.gz
openbsd-3e9423819d5b05b96cf6ad8d411708c75f9afbc5.tar.bz2
openbsd-3e9423819d5b05b96cf6ad8d411708c75f9afbc5.zip
Fix a double free in v2i_NAME_CONSTRAINTS()
a2i_GENERAL_NAME() modifies and returns the out argument that was passed in unless out == NULL, in which case it returns something freshly allocated. Thus, in v2i_GENERAL_NAME_ex() we must only free ret if out == NULL so v2i_NAME_CONSTRAINTS() can free correctly. Issue reported by Volker Schlecht ok jsing
Diffstat (limited to 'src/lib/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions