Socket::unpack_sockaddr_in error and fixes

Michael Fung mike at 3open.org
Tue Oct 21 05:03:49 CEST 2014


On 10/6/2014 3:27 PM, Marc Lehmann wrote:
> On Mon, Oct 06, 2014 at 02:21:34PM +0800, Michael Fung <mike at cmsweb.com> wrote:
>>
>> I am running AnyEvent 7.07. Should I apply the following patch to fix it?
( http://cvs.schmorp.de/AnyEvent/lib/AnyEvent/Socket.pm?r1=1.163&r2=1.164 )

> You can (and probably should) apply the patch to work around the bug,
> but the patch cannot fix the bug, as the bogus check is in perl's Socket
> module, not in AnyEvent::Socket.
>


Dear Marc,


The same error appears again today, seems like the bug is not worked 
around by the patch.

Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 
at 
/opt/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/x86_64-linux/Socket.pm 
line 830.

Is there anything else I can do?


Thanks,
Michael





More information about the anyevent mailing list