Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
don't allow more than one shlib for request
Andrej Zverev committed 10 years ago
commit b0eb8e86e85d38c2378d3d5d6fc06cabe76e5e2e
parent 6dd2a5bcdd6d9a2d921080d22c39d903fc614369
1 file changed +5 -0
modified src/shlib.c
@@ -175,6 +175,11 @@ exec_shlib(int argc, char **argv)
		return (EX_USAGE);
	}

+
	if (argc >= 2) {
+
		warnx("multiple libraries per run not allowed");
+
		return (EX_USAGE);
+
	}
+

	if (sanitize(libname, argv[0], sizeof(libname)) == NULL) {
		usage_shlib();
		return (EX_USAGE);