baudehlo / node-fs-ext

Extras missing from node's fs module
MIT License
101 stars 45 forks source link

fix for node 0.10 bug with ErrnoException #63

Closed TheRoSS closed 7 years ago

TheRoSS commented 7 years ago

Hi Node's ErrnoException requires to third parameter be set. Otherwise it fails with Segmentation Fault because it tries to directly access null pointer (msg[0]).

Please apply this patch to npm, it does not brake nothing

TheRoSS commented 7 years ago

This fix also resolves pull request Fix SEGV on Exception https://github.com/baudehlo/node-fs-ext/pull/52

baudehlo commented 7 years ago

I've just added travis testing to this module, so I'm just waiting to see if this passes.