]> pd.if.org Git - ctap/commitdiff
fix uninitialized pointer master
authorNathan Wagner <nw@hydaspes.if.org>
Tue, 12 Oct 2021 20:01:59 +0000 (15:01 -0500)
committerNathan Wagner <nw@hydaspes.if.org>
Tue, 12 Oct 2021 20:01:59 +0000 (15:01 -0500)
prove.c

diff --git a/prove.c b/prove.c
index 8ff8a6410ded3fb02a77bee17e1ad5aa3d30c853..ded9440df3d0efc2dfb7545147c183107c552e45 100644 (file)
--- a/prove.c
+++ b/prove.c
@@ -55,7 +55,7 @@ int runone(struct testrun *run) {
        int pipefd[2];
        pid_t cpid;
        FILE *tap;
-       char *line;
+       char *line = 0;
        ssize_t nread;
        size_t len = 0;
        int written = 0;