Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4c5deac in mainline


Ignore:
Timestamp:
2016-03-24T21:34:38Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
1558d85
Parents:
485dacd
Message:

Do not zero out addr before crashing in nic_query_address()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/src/nic_driver.c

    r485dacd r4c5deac  
    485485        if (!addr)
    486486                return;
    487         if (!nic_data)
    488                 memset(addr, 0, sizeof(nic_address_t));
    489487
    490488        memcpy(addr, &nic_data->mac, sizeof(nic_address_t));
Note: See TracChangeset for help on using the changeset viewer.