diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-09-23 17:33:52 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-09-23 17:33:52 +0200 |
commit | 664154893811cc73bfa00ef276776b87070d50f5 (patch) | |
tree | 70990742773976349350d93068f26f1bda892a9f /sys/src/cmd/cpp/cpp.h | |
parent | 5639f9504be2b325c7c041a59b424880cb9e8cf7 (diff) | |
download | plan9front-664154893811cc73bfa00ef276776b87070d50f5.tar.xz |
libsec: fix memory leaks in X509req() and X509gen() and return malloced pointer
X509req() and X509gen() used to leak memory, and had no way for
the caller to free the allocated certificate/certificate request
buffer returned. this is not critical as these functions are only
used in short lived rsa(2) helper programs. but i prefer to have
library routines not leak memory as one does not know in advance
where the code is going to be used.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.h')
0 files changed, 0 insertions, 0 deletions