amenzhinsky / dbus-codegen-go

D-Bus code-generation for golang
MIT License
16 stars 14 forks source link

Add len check to signal lookup #13

Closed scriptinglife1 closed 1 year ago

scriptinglife1 commented 1 year ago

I've had issues with our code crashing when trying to lookup signals which don't match the expected format. I've added a len check to the code which types the signal to verify the list of args is long enough before trying to type them.