node/test/node-api/test_worker_buffer_callback
Anna Henningsen af7da46d9b
test: fix out-of-bound reads from invalid sizeof usage
`sizeof(data)` does not return the correct result here, as it measures
the size of the `data` variable, not what it points to.

PR-URL: https://github.com/nodejs/node/pull/33115
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-05-04 14:23:26 +02:00
..
binding.gyp
test-free-called.js
test.js
test_worker_buffer_callback.c test: fix out-of-bound reads from invalid sizeof usage 2020-05-04 14:23:26 +02:00