> isNaN(Buffer.prototype) > Assertion failed: ((obj_data) != (nullptr)), function StringSlice, file ../src/node_buffer.cc, line 237. > Abort trap: 6
Activity
monsanto commentedon Apr 21, 2015
Reproduced, PR in one sec.
bnoordhuis commentedon Apr 21, 2015
Even simpler test case:
+Buffer.prototype. It's because of the custom .toString method on the prototype object...Fishrock123 commentedon Apr 21, 2015
I am very curious as to how/why you ended up doing this though.
buffer: prevent failed assertions
buffer: prevent abort on bad proto
trevnorris commentedon Jun 25, 2015
Fixed by 1cd9eeb.
buffer: prevent abort on bad proto