search for: 699dd87

Displaying 1 result from an estimated 1 matches for "699dd87".

Did you mean: 696fd87
2015 May 14
1
[PATCH] When calling getline first time, initialize length to zero.
...reads.c +++ b/df/estimate-max-threads.c @@ -60,7 +60,7 @@ read_line_from (const char *cmd) { FILE *pp; char *ret = NULL; - size_t allocsize; + size_t allocsize = 0; pp = popen (cmd, "r"); if (pp == NULL) diff --git a/examples/libvirt-auth.c b/examples/libvirt-auth.c index 699dd87..8a5db77 100644 --- a/examples/libvirt-auth.c +++ b/examples/libvirt-auth.c @@ -109,7 +109,7 @@ auth_callback (guestfs_h *g, size_t i; char *prompt; char *reply = NULL; - size_t allocsize; + size_t allocsize = 0; char *pass; ssize_t len; int r; diff --git a/fuse/test-fuse.c b/fu...