Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 68959
Status: resolved
Priority: 0/
Queue: POE

People
Owner: Nobody in particular
Requestors: cordeiro [...] cert.br
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug in POE::Wheel::SocketFactory
Date: Mon, 20 Jun 2011 16:06:47 -0400
To: "rcaputo [...] cpan.org" <rcaputo [...] cpan.org>
From: Luiz Eduardo Roncato Cordeiro <cordeiro [...] cert.br>
Hello Mr Caputo, I'm using POE::Wheel::SocketFactory with IPv6 and noticed the swap between address<->port as arguments ARG1 and ARG2 in SuccessEvent calling. I fixed this bug in the SocketFactory.pm file, where you find (I've found 2 times in code): ((my $error), $peer_port, $peer_addr) = getnameinfo($peer); Replace with: ((my $error), $peer_addr, $peer_port) = getnameinfo($peer); The output of getnameinfo function swap these two fields in relation to the unpack_sockaddr_in function. I hope I was clear enough explaining this issue. Best Regards, -- Luiz Eduardo Roncato Cordeiro CERT.br <cert@cert.br> http://www.cert.br/
Hi, Luiz. Thank you for your bug report. I've committed your suggested fix as 32db4fe99932c3d69b3f3ca96b8463f2f4fe4b05. It will be in the next version, which I hope to release this weekend.
Subject: Re: [rt.cpan.org #68959] Bug in POE::Wheel::SocketFactory
Date: Wed, 27 Jul 2011 10:59:52 -0300
To: bug-POE [...] rt.cpan.org
From: Luiz Eduardo Roncato Cordeiro <cordeiro [...] cert.br>
You're welcome. On Wednesday, 27 de July de 2011 03:32:57 you wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68959 > > > Hi, Luiz. Thank you for your bug report. I've committed your suggested > fix as 32db4fe99932c3d69b3f3ca96b8463f2f4fe4b05. It will be in the next > version, which I hope to release this weekend. > >