Ignore:
Timestamp:
2011-01-18T19:04:50+01:00 (6 years ago)
Author:
jow
Message:

[ar71xx] fix null pointer access in mach-dir-600-a1.c machine setup (#8671)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c

    r23975 r25043  
    119119        if (nvram_parse_mac_addr(nvram, DIR_600_A1_NVRAM_SIZE, 
    120120                                "lan_mac=", mac_buff) == 0) { 
    121                 ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0); 
    122                 ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1); 
     121                ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac_buff, 0); 
     122                ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac_buff, 1); 
    123123                mac = mac_buff; 
    124124        } 
Note: See TracChangeset for help on using the changeset viewer.