summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authortb <>2022-02-11 17:37:54 +0000
committertb <>2022-02-11 17:37:54 +0000
commit7553d37f566450a198f4ed53c39672be6ad1f9a6 (patch)
tree02b71ac3a99dd34249dd79d0ed13b935d13ccc1e /src/usr.bin
parenta891547fba82e9b33ef52b7c649b29f56c2b35dc (diff)
downloadopenbsd-7553d37f566450a198f4ed53c39672be6ad1f9a6.tar.gz
openbsd-7553d37f566450a198f4ed53c39672be6ad1f9a6.tar.bz2
openbsd-7553d37f566450a198f4ed53c39672be6ad1f9a6.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/usr.bin')
0 files changed, 0 insertions, 0 deletions