diff options
author | jsing <> | 2022-09-03 19:11:45 +0000 |
---|---|---|
committer | jsing <> | 2022-09-03 19:11:45 +0000 |
commit | 5399328ca4a094e245816151319f788ee5adeacf (patch) | |
tree | 964ec5d52226ea61bfeccf9e2266edfb0990dd00 /src/lib/libc/stdlib/exit.c | |
parent | 99faf42e8bb466f6374ae553a89d7703e22bf59f (diff) | |
download | openbsd-5399328ca4a094e245816151319f788ee5adeacf.tar.gz openbsd-5399328ca4a094e245816151319f788ee5adeacf.tar.bz2 openbsd-5399328ca4a094e245816151319f788ee5adeacf.zip |
Avoid recycling ASN1_STRINGs when decoding ASN.1.
Rather than recycling an existing ASN1_STRING and changing its type, free
it and allocate a replacement. This simplifies the code and potentially
avoids bugs resulting from reuse.
ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/exit.c')
0 files changed, 0 insertions, 0 deletions