		foreach($return as $index => $value) {
			if(! is_string($value))
				$return[$index] = $defaultvalue;
			elseif($addslashes)
				$return[$index] = mysql_real_escape_string($value);
		}
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.