summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-05-25 21:12:26 +0000
committerPeter Volkov <pva@gentoo.org>2009-05-25 21:12:26 +0000
commit6d299a51179438b3f9c4108abed8367f2527b040 (patch)
tree975d711f8c897e4cab7adf2f0e1768baa0430764 /net-analyzer/hydra/files
parentAutomated update of use.local.desc (diff)
downloadhistorical-6d299a51179438b3f9c4108abed8367f2527b040.tar.gz
historical-6d299a51179438b3f9c4108abed8367f2527b040.tar.bz2
historical-6d299a51179438b3f9c4108abed8367f2527b040.zip
Missed patch added, bug #271231, thank Willard Dawson for report.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'net-analyzer/hydra/files')
-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)