From: Marengo S. <ste...@gu...> - 2007-01-10 15:38:34
|
I have just released sipdht-tools-0.3.1 with the related fixes: Fixed minor bugs (added some missing return in opt_set_addr_port() and added libc6-2.3.2 support for getaddrinfo) Bye, Stefano -----Messaggio originale----- Da: sip...@li... per conto di Marengo = Stefano Inviato: mar 09/01/2007 19.38 A: sip...@li... Oggetto: [Sipdht-devel] R: libc6/debian version =20 Thanks, I'm fixing it for next sipdht-tools-0.3.1 (coming soon). Regarding the access violation, I have missed some "return" in = opt_set_addr_port() (in sipdht.c, sipdhtp.c, sipdhtg.c and sipdhtw.c) when sipdht changed = from sipdht-0.2.0 to libsipdht-0.3.0 + sipdht-tools-0.1.0. Bye, Stefano -----Messaggio originale----- Da: sip...@li... per conto di Gustavo = Garc=EDa Bernardo Inviato: mar 09/01/2007 17.28 A: sip...@li... Oggetto: [Sipdht-devel] libc6/debian version =20 Hi, =20 Is it possible to run sipdht tools with libc6 2.3.2 (debian stable)? It works fine with libc6 2.3.6 (debian sid) but it seems that it doesn't in debian stable. =20 After some tests I think the problem is the getaddrinfo API that doesn't support ai_sockettype =3D ai_protocol =3D 0 in the hints structure that receives. (I've seen it changed in libc6 around 2.3.3 version: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/getaddrin= fo. c.diff?r1=3D1.82 <http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/getaddri= nfo .c.diff?r1=3D1.82&r2=3D1.83&cvsroot=3Dglibc&f=3Dh> = &r2=3D1.83&cvsroot=3Dglibc&f=3Dh) =20 This issue produces an access violation exception in sipdht tools = because getaddrinfo returns res =3D NULL (i.e. sipdhtw.c Ln 118). If you = initialize ai_sockettype in the hint structure, for example with ai_sockettype =3D SOCK_DGRAM, it works. =20 I don't know if it should be solved or assumed as prerequisite, but = anyway this information could be useful for other people in the future. =20 =20 Taking advantage of this mail, I've seen two minor typos in the website http://sipdht.sourceforge.net/doc.html: sipdhtq -> sipdhtw -s10 -> -s 10 =20 Best regards. =20 G. -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Sipdht-devel mailing list Sip...@li... https://lists.sourceforge.net/lists/listinfo/sipdht-devel |