dbus2js crash when inspect dnsmasq
Opened this issue · 1 comments
neophob commented
I tried to introspect dnsmasq, looks like a missing sanity check
node_modules/.bin/dbus2js --bus system --service uk.org.thekelleys.dnsmasq --path /
ifaces0 undefined
/opt/node_modules/dbus-native/node_modules/xml2js/lib/xml2js.js:216
throw ex;
^
TypeError: Cannot read property 'length' of undefined
at /opt/node_modules/dbus-native/bin/dbus2js.js:59:31
at Parser.<anonymous> (/opt/node_modules/dbus-native/node_modules/xml2js/lib/xml2js.js:199:18)
at emitOne (events.js:96:13)
at Parser.emit (events.js:188:7)
sidorares commented
thanks! I don't really know when I have some free time to investigate, can you try to have a look at the problem?