Hi Manuele, On 03/18/2016 10:17 AM, Manuele Conti wrote: > Hi all, > I found a bug in nic_query_address function when a NULL is passed to > nic_data parameter. I try to fix it, let me know what do you think.
The caller should not pass NULL in nic_data in the first place. If it does, it should crash. The function should not try to handle this case, including the call to memset(). It is the driver that is responsible for passing something meaningful to it. Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
