Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Initialize buf to NULL for safety
Baptiste Daroussin committed 11 years ago
commit d13232dfef2ee9db6bded24e97dc4757fbf8cd22
parent 030250d2845aef6feb7aae552adf8345fd115e49
1 file changed +1 -1
modified libpkg/pkg_ports.c
@@ -315,7 +315,7 @@ meta_file(struct plist *p, char *line, struct file_attr *a, bool is_config)
	char stagedpath[MAXPATHLEN];
	char *testpath;
	struct stat st;
-
	char *buf;
+
	char *buf = NULL;
	bool regular = false;
	int ret = EPKG_OK;