diff options
author | gregor herrmann <gregoa@debian.org> | 2023-02-04 20:27:29 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2023-02-04 20:27:29 +0100 |
commit | b3065ec749b9e4ed7446bcccfa6fa2a72dc9e049 (patch) | |
tree | 2961b0c31c73ec710ac8fd745b8517c4dfefff47 | |
parent | a8335569de6ce1c405e975205a0620374624d49a (diff) | |
parent | d74c746e9f37494ddb45886b9dd97a3aba759b7c (diff) |
Update upstream source from tag 'upstream/0.22'
Update to upstream version '0.22'
with Debian dir 9f0d68f32735ac5dec781cdeb5ebf8d8fe8bec14
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | META.json | 6 | ||||
-rw-r--r-- | META.yml | 4 | ||||
-rw-r--r-- | NetIpXs.xs | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | functions.c | 2 | ||||
-rw-r--r-- | functions.h | 2 | ||||
-rw-r--r-- | lib/Net/IP/XS.pm | 4 | ||||
-rw-r--r-- | object.c | 3 | ||||
-rw-r--r-- | object.h | 2 |
10 files changed, 17 insertions, 13 deletions
@@ -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). @@ -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" } @@ -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' @@ -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 @@ -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. @@ -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); @@ -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 |