src: only access stack of defined errors
authorVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Fri, 6 Dec 2013 11:56:37 +0000 (15:56 +0400)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Tue, 10 Dec 2013 17:33:33 +0000 (09:33 -0800)
commit259d44962291bc73ae60919ea6442d762ee139d2
tree2bbd18770b7bd2adfb4b86fc0116bbba5e8f7637
parentf9e3364a473256a0ef76db1d04f257b0fc4a3b0a
src: only access stack of defined errors

Avoid segmentation fault when `undefined` is thrown
src/node.cc
test/message/throw_undefined.js [new file with mode: 0644]
test/message/throw_undefined.out [new file with mode: 0644]