Timothy Gu
|
59f71f5661
|
src, buffer: do not segfault on out-of-range index
Also add test cases for partial writes and invalid indices.
PR-URL: https://github.com/nodejs/node/pull/11927
Fixes: https://github.com/nodejs/node/issues/8724
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
|
2017-03-28 18:28:53 -04:00 |
|
DavidCai
|
66081d1ddb
|
test: increase coverage of buffer
PR-URL: https://github.com/nodejs/node/pull/11312
Backport-of: https://github.com/nodejs/node/pull/11122
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
|
2017-02-21 21:14:21 -05:00 |
|
larissayvette
|
c1e166a168
|
test: check noAssert option in buf.write*()
Add test to cover previously untested `noAssert` functionality in
buf.write*() functions.
PR-URL: https://github.com/nodejs/node/pull/10790
Reviewed-By: Rich Trott <rtrott@gmail.com>
|
2017-01-31 14:09:33 -06:00 |
|