aboutsummaryrefslogtreecommitdiff
path: root/share/security/patches/EN-16:10/dhclient.patch
diff options
context:
space:
mode:
Diffstat (limited to 'share/security/patches/EN-16:10/dhclient.patch')
-rw-r--r--share/security/patches/EN-16:10/dhclient.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/share/security/patches/EN-16:10/dhclient.patch b/share/security/patches/EN-16:10/dhclient.patch
deleted file mode 100644
index 0594f62180..0000000000
--- a/share/security/patches/EN-16:10/dhclient.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: sbin/dhclient/dhclient.c
-===================================================================
---- sbin/dhclient/dhclient.c (revision 302284)
-+++ sbin/dhclient/dhclient.c (working copy)
-@@ -2277,6 +2277,17 @@ script_set_env(struct client_state *clie
- {
- int i, j, namelen;
-
-+ /* No `` or $() command substitution allowed in environment values! */
-+ for (j=0; j < strlen(value); j++)
-+ switch (value[j]) {
-+ case '`':
-+ case '$':
-+ warning("illegal character (%c) in value '%s'",
-+ value[j], value);
-+ /* Ignore this option */
-+ return;
-+ }
-+
- namelen = strlen(name);
-
- for (i = 0; client->scriptEnv[i]; i++)
-@@ -2313,16 +2324,6 @@ script_set_env(struct client_state *clie
- strlen(value) + 1);
- if (client->scriptEnv[i] == NULL)
- error("script_set_env: no memory for variable assignment");
--
-- /* No `` or $() command substitution allowed in environment values! */
-- for (j=0; j < strlen(value); j++)
-- switch (value[j]) {
-- case '`':
-- case '$':
-- error("illegal character (%c) in value '%s'", value[j],
-- value);
-- /* not reached */
-- }
- snprintf(client->scriptEnv[i], strlen(prefix) + strlen(name) +
- 1 + strlen(value) + 1, "%s%s=%s", prefix, name, value);
- }