summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/hydra/files/hydra-5.4-free-without-malloc.patch')
-rw-r--r--net-analyzer/hydra/files/hydra-5.4-free-without-malloc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-analyzer/hydra/files/hydra-5.4-free-without-malloc.patch b/net-analyzer/hydra/files/hydra-5.4-free-without-malloc.patch
new file mode 100644
index 000000000000..6dde09cdf1ed
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-5.4-free-without-malloc.patch
@@ -0,0 +1,18 @@
+--- hydra-http-form.old 2008-02-06 09:42:49.000000000 +0000
++++ hydra-http-form.c 2008-02-06 09:43:45.000000000 +0000
+@@ -149,7 +149,6 @@
+ }
+
+ if (hydra_send(s, buffer, strlen(buffer), 0) < 0) {
+- free(updvariables);
+ free(upd2variables);
+ return 1;
+ }
+@@ -183,7 +182,6 @@
+ */
+
+ free(buf);
+- free(updvariables);
+ free(upd2variables);
+
+ if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0)