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

Changeset 03649d8 in mainline for uspace/srv/net/nil/eth/eth.c


Ignore:
Timestamp:
2010-10-27T21:25:26Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
0a3fbc7
Parents:
09d5ec8
Message:

Do not leak the 'names' measured string values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.c

    r09d5ec8 r03649d8  
    284284        measured_string_t names[2] = {
    285285                {
    286                         str_dup("ETH_MODE"),
     286                        (char *) "ETH_MODE",
    287287                        8
    288288                },
    289289                {
    290                         str_dup("ETH_DUMMY"),
     290                        (char *) "ETH_DUMMY",
    291291                        9
    292292                }
Note: See TracChangeset for help on using the changeset viewer.