Skip to content

Conversation

@larissayvette
Copy link
Contributor

Checklist
Affected core subsystem(s)

test
Merging buffer-read test present in test-buffer-alloc.js to test-buffer-read.js file

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Feb 10, 2017
Copy link
Member

@TrottTrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if CI is green.

@mscdexmscdex added the buffer Issues and PRs related to the buffer subsystem. label Feb 10, 2017

// attempt to overflow buffers, similar to previous bug in array buffers
assert.throws(() => Buffer.allocUnsafe(8).readFloatLE(0xffffffff),
RangeError);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we check the actual errors itself, so that we can avoid problems like #11162?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in favor of this, but since this PR is a straightforward re-organization of the tests and not actual changes/enhancements, I'd be OK with that happening in a subsequent PR.

@Trott
Copy link
Member

@jasnell
Copy link
Member

one failure in ci is unrelated

jasnell pushed a commit that referenced this pull request Feb 17, 2017
PR-URL: #11297 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
@jasnell
Copy link
Member

landed in 8a25e31

@jasnelljasnell closed this Feb 17, 2017
@larissayvettelarissayvette deleted the read-buffer branch February 17, 2017 09:27
italoacasas pushed a commit to italoacasas/node that referenced this pull request Feb 20, 2017
PR-URL: nodejs#11297 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
italoacasas pushed a commit that referenced this pull request Feb 22, 2017
PR-URL: #11297 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
@italoacasasitaloacasas mentioned this pull request Feb 25, 2017
@jasnell
Copy link
Member

would need a backport PR to land on v4

jasnell pushed a commit that referenced this pull request Mar 7, 2017
PR-URL: #11297 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 9, 2017
PR-URL: #11297 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Mar 9, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bufferIssues and PRs related to the buffer subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@larissayvette@Trott@jasnell@thefourtheye@mscdex@nodejs-github-bot