Changeset 7a34f87d in mainline


Ignore:
Timestamp:
2020-05-07T15:53:35Z (5 years ago)
Author:
Manuele Conti <manuele.conti@…>
Parents:
0800b26
git-author:
Manuele Conti <manuele.conti@…> (2020-05-07 15:43:50)
git-committer:
Manuele Conti <manuele.conti@…> (2020-05-07 15:53:35)
Message:

Avoid use uninitialized variable in ethip_send function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/ethip.c

    r0800b26 r7a34f87d  
    175175
    176176        ethip_nic_t *nic = (ethip_nic_t *) srv->arg;
    177         eth_frame_t frame;
     177        eth_frame_t frame = { 0 };
    178178
    179179        errno_t rc = arp_translate(nic, sdu->src, sdu->dest, frame.dest);
Note: See TracChangeset for help on using the changeset viewer.