Netgear / wsdd2

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

Fix '-b' option parsing #7

Closed wongsyrone closed 4 years ago

wongsyrone commented 4 years ago

fix null pointer and empty string handling

The previous behavor is infinite loop

examples: "" empty string "vendor:for,model:bar," invalid options, please note the comma at the end

Signed-off-by: Syrone Wong wong.syrone@gmail.com

Andy2244 commented 4 years ago

ah thanks yes makes sense