Package: libnetaddr-ip-perl
Version: 4.075+dfsg-1+b1

suddenly some DNS zones of ours went belly up because a user
succeeded in entering a pure number. It got parsed from NetAddr::IP
which said by ->version() it to be a v4 address but printing it 
returned a v6 address:

$ perl -MNetAddr::IP -e '$a=new NetAddr::IP('9000092018'); print $a->version(). 
"\n"; print $a . "\n"'

This is pretty unexpected. I would have thought that parsing would
return an "undef".

Florian Lohoff                                       
             UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away

Attachment: signature.asc
Description: Digital signature

Reply via email to