summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbustico2007-12-21 09:19:34 +0000
committerbustico2007-12-21 09:19:34 +0000
commit1f26ff323a31d69448a82b4fdfc0512231567ae2 (patch)
tree6feed5f307e94eac17e2178c1ab0fde789b772a1
parentfd2fb7356ddb6b002498b0ad05f5cae3b82e1587 (diff)
downloadivy-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
-rw-r--r--Ivy.pm6
-rw-r--r--debian/changelog7
2 files changed, 13 insertions, 0 deletions
diff --git a/Ivy.pm b/Ivy.pm
index 6607d68..bd979ca 100644
--- a/Ivy.pm
+++ b/Ivy.pm
@@ -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;
diff --git a/debian/changelog b/debian/changelog
index a879205..ccb3a0a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ivy-perl (4.25-2) unstable; urgency=low
+
+ * New upstream version: * verify validity of socket arg in low level
+ callback _getMessage
+
+ -- Alexandre Bustico <bustico@cena.fr> Fri, 21 Dec 2007 09:55:57 +0200
+
ivy-perl (4.25-1) unstable; urgency=low
* New upstream version: * fix bug when name resolution fails and we should