mirror of
https://github.com/nodejs/node.git
synced 2025-05-17 18:26:24 +00:00

Neuter external `nullptr` buffers, otherwise their contents will be materialized on access, and the buffer instance will be internalized. This leads to a crash like this: v8::ArrayBuffer::Neuter Only externalized ArrayBuffers can be neutered Fix: #3619 PR-URL: https://github.com/nodejs/node/pull/3624 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
8 lines
128 B
JavaScript
8 lines
128 B
JavaScript
'use strict';
|
|
// Flags: --expose-gc
|
|
|
|
require('../../common');
|
|
var binding = require('./build/Release/binding');
|
|
|
|
binding.run();
|