iptables/iptables-1.3.0-autoload.patch

12 lines
378 B
Diff
Raw Normal View History

2005-02-22 11:09:58 +00:00
--- iptables-1.3.0/ip6tables.c.autoload 2005-02-21 17:52:46.502379964 +0100
+++ iptables-1.3.0/ip6tables.c 2005-02-21 18:01:38.113422285 +0100
@@ -1589,7 +1589,7 @@
if (procfile < 0)
return NULL;
- ret = malloc(PROCFILE_BUFSIZ);
+ ret = (char *) malloc(PROCFILE_BUFSIZ);
if (ret) {
memset(ret, 0, PROCFILE_BUFSIZ);
switch (read(procfile, ret, PROCFILE_BUFSIZ)) {