Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Use binary copy instead of printf to fix issues with pkg repo signing_command when the signature contains \0
Baptiste Daroussin committed 9 years ago
commit df567e873326532a96de420e6953d7111f446cff
parent cb2d0a5
1 file changed +1 -1
modified libpkg/pkg_repo_create.c
@@ -822,7 +822,7 @@ pkg_repo_sign(char *path, char **argv, int argc, UT_string **sig, UT_string **ce
			break;
		}
		if (buf != NULL)
-
			utstring_printf(buf, "%s", line);
+
			utstring_bincpy(buf, line, linelen);
	}

	if (pclose(fp) != 0) {