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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 29 + 28 = ?

 
 [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