cheery / node-udev

Bindings to libudev
35 stars 31 forks source link

Segment fault #28

Closed Kekec852 closed 5 years ago

Kekec852 commented 5 years ago

There was segment fault if for some reason udev returned nul pointer.

This pull request make check if that happens and throws error.

Also notice that there was no returns after Nan::ThrowError.

cheery commented 5 years ago

I dunno what I waited for because I didn't write it down, but this thing's in at 0.6.0.