diff options
author | bustico | 2007-12-21 09:19:34 +0000 |
---|---|---|
committer | bustico | 2007-12-21 09:19:34 +0000 |
commit | 1f26ff323a31d69448a82b4fdfc0512231567ae2 (patch) | |
tree | 6feed5f307e94eac17e2178c1ab0fde789b772a1 /Ivy.pm | |
parent | fd2fb7356ddb6b002498b0ad05f5cae3b82e1587 (diff) | |
download | ivy-perl-1f26ff323a31d69448a82b4fdfc0512231567ae2.zip ivy-perl-1f26ff323a31d69448a82b4fdfc0512231567ae2.tar.gz ivy-perl-1f26ff323a31d69448a82b4fdfc0512231567ae2.tar.bz2 ivy-perl-1f26ff323a31d69448a82b4fdfc0512231567ae2.tar.xz |
verify validity of socket arg in low levelcallback _getMessage
Diffstat (limited to 'Ivy.pm')
-rw-r--r-- | Ivy.pm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1461,6 +1461,12 @@ sub _getConnections ($) sub _getMessages ($$) { my ($self, $appSock) = @_; + + unless (defined $appSock) { + carp "Warning in Ivy::_getMessages : *UN*inititialized appSock, don't do anything\n" if $^W; + return; + } + my $bufferRef = \$self->[bufRecByCnnx]{$appSock}; my ($addr, $peerPort, $senderName); my $nlIndex; |