Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer: return undefined when accessing negative Buffer index #174

Merged
merged 1 commit into from
Sep 25, 2017

Conversation

whitlockjc
Copy link
Member

Prior to this change, when accessing a Buffer with a negative index, a
Java error (java.lang.ArrayIndexOutOfBoundsException) was thrown instead
of returning undefined per standard node.js functionality.

Fixes #143

Prior to this change, when accessing a Buffer with a negative index, a
Java error (java.lang.ArrayIndexOutOfBoundsException) was thrown instead
of returning `undefined` per standard node.js functionality.

Fixes apigee#143
@gbrail
Copy link
Contributor

gbrail commented Sep 25, 2017

Thanks for fixing this!

@gbrail gbrail merged commit 32d7aac into apigee:master Sep 25, 2017
@whitlockjc whitlockjc deleted the fix-issue-143 branch September 25, 2017 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants