Commit 6da0cfda authored by Guillaume Quintard's avatar Guillaume Quintard

Check malloc return

parent e7b05d70
......@@ -168,6 +168,7 @@ VCLI_ReadResult(int fd, unsigned *status, char **ptr, double tmo)
*status = u;
p = malloc(v + 1L);
AN(p);
if (p == NULL)
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment