[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    fix for lame segfault (still)
From:       "I am stupidity.  Hear me roar." <advil () merlin ! mazescape ! net>
Date:       2000-03-30 14:29:37
[Download RAW message or body]

I posted a patch two months ago, and it's still broken.  This patch is
better anyway.

--- netfilter/userspace/extensions/libipt_tcp.c.orig	Mon Mar 20 01:03:35 2000
+++ netfilter/userspace/extensions/libipt_tcp.c	Thu Mar 30 09:14:35 2000
@@ -310,7 +310,9 @@
 {
 	int sole_flag = 1;
 
-	do {
+	if(!flags)
+		printf("NONE");
+	else do {
 		unsigned int i;
 
 		/* Terminates because last flag is 0 */

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic