summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c
diff options
context:
space:
mode:
authortb <>2022-05-16 20:51:26 +0000
committertb <>2022-05-16 20:51:26 +0000
commit70dfe06a6ab90d4753a3ecc58022f661da042465 (patch)
tree258e34be4dadd4efc7336bbba7944b9d53dd673e /src/lib/libc/stdlib/system.c
parent30fd5107fb846be5cb70bfe51335086858aaca59 (diff)
downloadopenbsd-70dfe06a6ab90d4753a3ecc58022f661da042465.tar.gz
openbsd-70dfe06a6ab90d4753a3ecc58022f661da042465.tar.bz2
openbsd-70dfe06a6ab90d4753a3ecc58022f661da042465.zip
Clean up and fix ASN1_STRING_to_UTF8()
Instead of using a temporary variable on the stack, we can use the usual Henson mechanism for allocating the struct. Make the function single exit and throw an error instead of crashing or leaking if out is NULL or *out is non-NULL. tweaks/ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions