futomi / node-dns-sd

The node-dns-sd is a Node.js module which is a pure javascript implementation of mDNS/DNS-SD (Apple Bonjour) browser and packet parser. It allows you to discover IPv4 addresses in the local network specifying a service name such as _http._tcp.local. Besides, it allows you to monitor mDNS/DNS-SD packets.
MIT License
44 stars 11 forks source link

RangeError: Maximum call stack size exceeded #8

Open bwp91 opened 3 years ago

bwp91 commented 3 years ago

Hi @futomi

I have a user of my homebridge-ewelink plugin that is receiving the following error:

RangeError: Maximum call stack size exceeded
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:190:45)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)
at DnsSdParser._parseLabel (/usr/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd-parser.js:198:22)

Any ideas why this might appear? Thanks