[Bug 117] register_target() creates circular linked list

bugzilla-daemon@netfilter.org bugzilla-daemon@netfilter.org
Sat, 30 Aug 2003 20:27:55 +0200


https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=117

laforge@netfilter.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From laforge@netfilter.org  2003-08-30 20:27 -------
Comment from an email of the submitter:

Date: Wed, 27 Aug 2003 09:52:53 -0700 (PDT)                                     
From: Doug McNash <dmcnash@yahoo.com>                                           
Reply-To: dmcnash@charter.net                                                   
Subject: Re: [Bug 117] register_target() creates circular linked list           
To: laforge@netfilter.org                                          
                                                                                
It looks as if it was some compilier flag mismatch                              
causing some strange interaction. I am basically                                
linking iptables.o into a JNI (Java Native) wrapper,                            
i.e. a shared object, I had to change and get into                              
sync all the link flags.  Debugging indicated that the                          
iptables_targets was circular on the second call to                             
do_command(). I had initially "fixed" it by appending                           
to the end of the list in                                                       
register_targets vs prepending.  Rolling back to the                            
original code after fixing all the linker flags to                              
suit my app, it does not exhibit the problem now.                               
                                                                                
Sorry for assuming a source code bug.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.