From ea5f78db78c3700422882e54a029eeb9b1183f5e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 14 Jan 2009 03:32:32 +0000 Subject: [PATCH] Add some more variables to config._env_blacklist to ensure that they never leak in from the calling environment. svn path=/main/trunk/; revision=12503 --- pym/portage/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1a8e17f5a..c0223dd63 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -915,9 +915,12 @@ class config(object): """ _env_blacklist = [ - "A", "AA", "CATEGORY", "EBUILD_PHASE", "EMERGE_FROM", - "PF", "PKGUSE", "PORTAGE_CONFIGROOT", "PORTAGE_IUSE", - "PORTAGE_REPO_NAME", "PORTAGE_USE", "ROOT" + "A", "AA", "CATEGORY", "DEPEND", "DESCRIPTION", "EAPI", + "EBUILD_PHASE", "EMERGE_FROM", "HOMEPAGE", "INHERITED", "IUSE", + "KEYWORDS", "LICENSE", "PDEPEND", "PF", "PKGUSE", + "PORTAGE_CONFIGROOT", "PORTAGE_IUSE", "PORTAGE_REPO_NAME", + "PORTAGE_USE", "PROPERTIES", "PROVIDE", "RDEPEND", "RESTRICT", + "ROOT", "SLOT", "SRC_URI" ] _environ_whitelist = [] -- 2.26.2