Changeset 32608


Ignore:
Timestamp:
Jul 8, 2017, 1:28:20 PM (3 weeks ago)
Author:
brainslayer
Message:

more safe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/libutils/bcmutils.c

    r32490 r32608  
    478478                        // if (!(flags & ATF_COM)) { //ATF_COM = 0x02 completed entry (ha
    479479                        // valid)
    480                         strcpy(mac, hwa);
     480                        strncpy(mac, hwa, 17);
    481481                        fclose(fp);
    482482                        return mac;
Note: See TracChangeset for help on using the changeset viewer.