Project

General

Profile

Bug #1427

Updated by Junxiao Shi over 10 years ago

Steps to reproduce: 

 1. `sudo vi /etc/hosts`, append a line: 

         255.255.255.255 invalid-ip.bug1427.redmine.named-data.net invalid-ip.bug.redmine.named-data.net 

 2. start NFD 

 3. execute any of the following 

         nfdc create udp6://[fe80::] 
         nfdc create udp4://255.255.255.255 
         nfdc create udp://invalid-ip.bug1427.redmine.named-data.net udp://invalid-ip.bug.redmine.named-data.net 

 Expected: face creation fails, but NFD does not crash   
 Actual: `FATAL: [Main] Failed to properly configure the socket. Check the address (connect: Invalid argument)` 

Back