summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2023-02-04 20:27:29 +0100
committergregor herrmann <gregoa@debian.org>2023-02-04 20:27:29 +0100
commitb3065ec749b9e4ed7446bcccfa6fa2a72dc9e049 (patch)
tree2961b0c31c73ec710ac8fd745b8517c4dfefff47
parenta8335569de6ce1c405e975205a0620374624d49a (diff)
parentd74c746e9f37494ddb45886b9dd97a3aba759b7c (diff)
Update upstream source from tag 'upstream/0.22'
Update to upstream version '0.22' with Debian dir 9f0d68f32735ac5dec781cdeb5ebf8d8fe8bec14
-rw-r--r--Changes3
-rw-r--r--META.json6
-rw-r--r--META.yml4
-rw-r--r--NetIpXs.xs2
-rw-r--r--README2
-rw-r--r--functions.c2
-rw-r--r--functions.h2
-rw-r--r--lib/Net/IP/XS.pm4
-rw-r--r--object.c3
-rw-r--r--object.h2
10 files changed, 17 insertions, 13 deletions
diff --git a/Changes b/Changes
index 563fd36..dc75258 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Net-IP-XS
+0.22 24 January 2023
+ - Fix uninitialised buffer problem (Github #4).
+
0.21 5 February 2018
- Avoid unnecessary calls to NI_ip_get_version when
constructing objects (Github #2).
diff --git a/META.json b/META.json
index 1d9acef..f6ea15d 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
"Tom Harrison <tomhrr@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010",
"license" : [
"open_source"
],
@@ -45,6 +45,6 @@
"url" : "https://github.com/tomhrr/p5-Net-IP-XS"
}
},
- "version" : "0.21",
- "x_serialization_backend" : "JSON::PP version 2.97000"
+ "version" : "0.22",
+ "x_serialization_backend" : "JSON::PP version 4.06"
}
diff --git a/META.yml b/META.yml
index a97e800..a480fbc 100644
--- a/META.yml
+++ b/META.yml
@@ -7,7 +7,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
license: open_source
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,5 +24,5 @@ requires:
Tie::Simple: '0'
resources:
repository: https://github.com/tomhrr/p5-Net-IP-XS
-version: '0.21'
+version: '0.22'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff --git a/NetIpXs.xs b/NetIpXs.xs
index 6c7f6ea..1df9802 100644
--- a/NetIpXs.xs
+++ b/NetIpXs.xs
@@ -1,7 +1,7 @@
/*
NetIpXs.xs - XS wrapper around the core Net::IP::XS functions.
-Copyright (C) 2010-2018 Tom Harrison <tomhrr@cpan.org>
+Copyright (C) 2010-2023 Tom Harrison <tomhrr@cpan.org>
Original inet_pton4, inet_pton6 are Copyright (C) 2006 Free Software
Foundation.
Original interface, and the auth and ip_auth functions, are Copyright
diff --git a/README b/README
index f49215b..b0b21b2 100644
--- a/README
+++ b/README
@@ -33,7 +33,7 @@ You can also look for information at:
COPYRIGHT AND LICENCE
-Copyright (C) 2010-2018 Tom Harrison <tomhrr@cpan.org>.
+Copyright (C) 2010-2023 Tom Harrison <tomhrr@cpan.org>.
Original inet_pton4 and inet_pton6 functions are copyright (C) 2006
Free Software Foundation.
diff --git a/functions.c b/functions.c
index 91b8f30..8cf5a9c 100644
--- a/functions.c
+++ b/functions.c
@@ -1,7 +1,7 @@
/*
functions.c - Core functions for Net::IP::XS.
-Copyright (C) 2010-2018 Tom Harrison <tomhrr@cpan.org>
+Copyright (C) 2010-2023 Tom Harrison <tomhrr@cpan.org>
Original inet_pton4, inet_pton6 are Copyright (C) 2006 Free Software
Foundation.
Original interface, and the auth and ip_auth functions, are Copyright
diff --git a/functions.h b/functions.h
index fd998e2..b925e3b 100644
--- a/functions.h
+++ b/functions.h
@@ -1,7 +1,7 @@
/*
functions.h - Core functions for Net::IP::XS.
-Copyright (C) 2010-2018 Tom Harrison <tomhrr@cpan.org>
+Copyright (C) 2010-2023 Tom Harrison <tomhrr@cpan.org>
Original inet_pton4, inet_pton6 are Copyright (C) 2006 Free Software
Foundation.
Original interface, and the auth and ip_auth functions, are Copyright
diff --git a/lib/Net/IP/XS.pm b/lib/Net/IP/XS.pm
index 729679f..dea2336 100644
--- a/lib/Net/IP/XS.pm
+++ b/lib/Net/IP/XS.pm
@@ -8,7 +8,7 @@ use 5.006;
use Math::BigInt;
use Tie::Simple;
-our $VERSION = '0.21';
+our $VERSION = '0.22';
our $IP_NO_OVERLAP = 0;
our $IP_PARTIAL_OVERLAP = 1;
@@ -367,7 +367,7 @@ L<Net::IP|Net::IP>, L<IP::Authority|IP::Authority>.
=head1 COPYRIGHT & LICENSE
-Copyright (C) 2010-2018 Tom Harrison <tomhrr@cpan.org>.
+Copyright (C) 2010-2023 Tom Harrison <tomhrr@cpan.org>.
Original inet_pton4 and inet_pton6 functions are copyright (C) 2006
Free Software Foundation.
diff --git a/object.c b/object.c
index e967c61..f0dcb5e 100644
--- a/object.c
+++ b/object.c
@@ -1,7 +1,7 @@
/*
object.c - Functions for Net::IP::XS's object-oriented interface.
-Copyright (C) 2010-2018 Tom Harrison <tomhrr@cpan.org>
+Copyright (C) 2010-2023 Tom Harrison <tomhrr@cpan.org>
Original inet_pton4, inet_pton6 are Copyright (C) 2006 Free Software
Foundation.
Original interface, and the auth and ip_auth functions, are Copyright
@@ -472,6 +472,7 @@ NI_print(SV *ipo, char *buf, int maxlen)
const char *second_ip;
int res;
char mybuf[MAX_IPV6_STR_LEN];
+ mybuf[0] = '\0';
is_prefix = NI_hv_get_iv(ipo, "is_prefix", 9);
diff --git a/object.h b/object.h
index 0accc3f..adc5b3b 100644
--- a/object.h
+++ b/object.h
@@ -1,7 +1,7 @@
/*
object.h - Functions for Net::IP::XS's object-oriented interface.
-Copyright (C) 2010-2018 Tom Harrison <tomhrr@cpan.org>
+Copyright (C) 2010-2023 Tom Harrison <tomhrr@cpan.org>
Original inet_pton4, inet_pton6 are Copyright (C) 2006 Free Software
Foundation.
Original interface, and the auth and ip_auth functions, are Copyright