Netgear / wsdd2

WSD/LLMNR Discovery/Name Service Daemon
GNU General Public License v3.0
154 stars 33 forks source link

Fix crash caused by accessing null file pointer #40

Closed Golit closed 2 years ago

Golit commented 2 years ago

The function set_seed did not check if the file /etc/machine-id exists resulting in a crash. Using uuid_endpoint instead allows falling back to alternatives and prevent crashes.

Andy2244 commented 2 years ago

thanks for the fix