summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/cpp.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-09-23 17:33:52 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-09-23 17:33:52 +0200
commit664154893811cc73bfa00ef276776b87070d50f5 (patch)
tree70990742773976349350d93068f26f1bda892a9f /sys/src/cmd/cpp/cpp.h
parent5639f9504be2b325c7c041a59b424880cb9e8cf7 (diff)
downloadplan9front-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