summaryrefslogtreecommitdiff
path: root/security/qtfw/files/patch-fwrule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'security/qtfw/files/patch-fwrule.cpp')
-rw-r--r--security/qtfw/files/patch-fwrule.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/qtfw/files/patch-fwrule.cpp b/security/qtfw/files/patch-fwrule.cpp
index 979c53b9e120..22e5d7d8ed3b 100644
--- a/security/qtfw/files/patch-fwrule.cpp
+++ b/security/qtfw/files/patch-fwrule.cpp
@@ -8,3 +8,12 @@
#define IPPROTO_IP 0
+@@ -547,7 +547,7 @@
+ nCurrentIndex++;
+ ac++;
+ }
+- av = new (char*)[ac];
++ av = new char*[ac];
+
+ /* Now fill the av[] array */
+ for (int i =0;i < ac;i++)