SUMMARY: perl, Socket::unpack_sockaddr_in and solaris 2.6

From: ray trzaska (
Date: Sat May 08 1999 - 04:43:17 CDT

Hi all,
apologies for delayed summary.
thanks to John White at
for trying to help.

real problem was nothing to do with perl ( as such ) or libc
the fault lay in a bit of cack perl appliation code not handling
'unexpected' returns from system calls ( i.e. not expecting 'accept' to
return from an interupt, leading to an undefined socket ... )


original post-
>i've inherited some perl interface scripts which are part of a cgi set.
>the package works on solaris 2.5.1 and used to work on solaris 2.6
>applying the libc patches (105210) has broken it.
> the perl is 5.004 ( nuber of zeroes may be wrong )
> the appears to be version 1.6 ( althogh i can only find
> upto version 1.5 on CPAN )
> upto at least 105210-12 the package work as it should
> 105210-17, -18, -19 all result in
> Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16
> any adice, as i'm not keen on being that out of date on security patches

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:19 CDT