]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed uninitialized data member in Acl::Ip
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 31 Dec 2014 08:23:53 +0000 (09:23 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 31 Dec 2014 08:23:53 +0000 (09:23 +0100)
src/acl/Ip.cc

index 8b7a77bebea00c240000f0957082cde07e661def..02de5aa89c6d193d65118ac61ec4e73efd09bac8 100644 (file)
@@ -473,6 +473,9 @@ acl_ip_data::FactoryParse(const char *t)
 void
 ACLIP::parse()
 {
+    if (data == NULL)
+        data = new IPSplay();
+
     flags.parseFlags();
 
     while (char *t = strtokFile()) {