Browse Source

Fix null pointer de-ref

pull/1123/head
Hamish Coleman 1 year ago
parent
commit
e8c7457b80
  1. 2
      win32/wintap.c

2
win32/wintap.c

@ -277,7 +277,7 @@ int open_wintap(struct tuntap_dev *device,
/* ************************************** */ /* ************************************** */
if(device_mac[0]) if(device_mac && device_mac[0])
set_interface_mac(device, device_mac); set_interface_mac(device, device_mac);
/* Get MAC address from tap device->device_name */ /* Get MAC address from tap device->device_name */

Loading…
Cancel
Save