Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.0b4

Bug #27795 isCompressible uses not existing variable
Submitted: 2024-06-05 07:09 UTC
From: arekm Assigned:
Status: Open Package: Net_IPv6 (version 1.3.0b4)
PHP Version: 7.4.33 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2024-06-05 07:09 UTC] arekm (Arkadiusz Miskiewicz)
Description: ------------ $address doesn't exist. Affects stable version, too. Undefined variable: address in pear/Net/IPv6.php on line 768 diff -urN Net_IPv6-1.3.0b4.org/Net/IPv6.php Net_IPv6- 1.3.0b4/Net/IPv6.php --- Net_IPv6-1.3.0b4.org/Net/IPv6.php 2018-07-09 13:55:41.000000000 +0200 +++ Net_IPv6-1.3.0b4/Net/IPv6.php 2024-06-05 09:04:05.726443082 +0200 @@ -807,7 +807,7 @@ public static function isCompressible($ip) { - return (bool)($ip != Net_IPv6::compress($address)); + return (bool)($ip != Net_IPv6::compress($ip)); }

Comments