[Serdev] rtpproxy crash (FIX)

Alexander Mayrhofer axelm at nic.at
Thu May 6 12:12:10 UTC 2004


On (25.04.04 01:06), Alexander Mayrhofer wrote:
> (gdb) print ia1->sa_data
> Cannot access memory at address 0x7d6903a8
> 
> ia2 looks fine, btw.
> 
> I have no idea what should happen at main.c:760, looks like something
> related to the ip4<->ip6 conversion/bridging... 

I noticed that a bunch of variables are never initialized in
handle_command(). After i add 

j = 0;

just below the variable declaration in handle_command(), rtpproxy stops
crashing, because bindaddr[j] now points to something useful ;)

cheers

axelm




More information about the Serdev mailing list