From 06c72562c805fc81701be9779686c26fcbc03320 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 24 Nov 2014 23:45:46 -0500 Subject: Initialize string variable to empty before each use. --- config/suricata/suricata_generate_yaml.php | 1 + 1 file changed, 1 insertion(+) (limited to 'config/suricata/suricata_generate_yaml.php') diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php index 893c7775..704caa76 100644 --- a/config/suricata/suricata_generate_yaml.php +++ b/config/suricata/suricata_generate_yaml.php @@ -574,6 +574,7 @@ else { // Add the HTTP Server-specific policies if configured, otherwise // just set default to IDS for all networks. +$http_hosts_policy = ""; $http_hosts_default_policy = ""; if (!is_array($suricatacfg['libhtp_policy']['item'])) $suricatacfg['libhtp_policy']['item'] = array(); -- cgit v1.2.3