src: only access stack of non-null errors
authorVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Mon, 23 Dec 2013 06:18:08 +0000 (10:18 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Mon, 23 Dec 2013 11:08:11 +0000 (15:08 +0400)
commit055f7e9da99561a549ea887bb88ec93ad423b182
tree09cc432327c41c05056fc096c7d28a0ea1cee140
parent82098bb97bbed9404da1f6386490837a05318d5e
src: only access stack of non-null errors

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