dbus-native icon indicating copy to clipboard operation
dbus-native copied to clipboard

dbus2js crash when inspect dnsmasq

Open neophob opened this issue 7 years ago • 1 comments

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)

neophob avatar Jun 27 '17 18:06 neophob

thanks! I don't really know when I have some free time to investigate, can you try to have a look at the problem?

sidorares avatar Jun 27 '17 21:06 sidorares