Netgear / wsdd2

WSD/LLMNR Discovery/Name Service Daemon
GNU General Public License v3.0
158 stars 34 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