ref: d5a81af7be5c2d7c929078f9b83e2428440db0c0
parent: 6540a9a21ae4f62f512f3e95063561d87e80701c
author: cinap_lenrek <[email protected]>
date: Sat Apr 6 16:23:00 EDT 2019
libauthsrv: authdial smprint() out of memory autism
--- a/sys/src/libauthsrv/authdial.c
+++ b/sys/src/libauthsrv/authdial.c
@@ -28,6 +28,8 @@
*/
if(p == nil) {
p = smprint("p9auth.%s", dom);
+ if(p == nil)
+ return -1;
t = ndbnew("auth", p);
}
free(p);