]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/directory.c
afpd/directory: avoid unitialized pointer read
[netatalk.git] / etc / afpd / directory.c
index 9a4fc64e5d6704cc132f9e5125c97a0b71b7afbd..eb1cdf581285171df9cfb090e5c9b1cd3e8d1907 100644 (file)
@@ -815,7 +815,7 @@ struct dir *dir_add(struct vol *vol, const struct dir *dir, struct path *path, i
     cnid_t      id;
     struct adouble  ad;
     struct adouble *adp = NULL;
-    bstring fullpath;
+    bstring fullpath = NULL;
 
     AFP_ASSERT(vol);
     AFP_ASSERT(dir);