8000 BUG: fix out of bound access in unicode argmin/argmax by juliantaylor · Pull Request #5087 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: fix out of bound access in unicode argmin/argmax #5087

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

Merged
merged 1 commit into from
Sep 19, 2014

Conversation

juliantaylor
Copy link
Contributor

elsize is in bytes and the pointer of unicode type, so it must divided
by the size.
Closes gh-5082

@juliantaylor
Copy link
Contributor Author

rebased for backport

elsize is in bytes and the pointer of unicode type, so it must divided
by the size.
Closes numpygh-5082
@charris
Copy link
Member
charris commented Sep 19, 2014

LGTM pending travis. Wonder if all those pointers should have been char * to be consistent with the rest of numpy.

charris added a commit that referenced this pull request Sep 19, 2014
BUG: fix out of bound access in unicode argmin/argmax
@charris charris merged commit 882c028 into numpy:master Sep 19, 2014
@charris
Copy link
Member
charris commented Sep 19, 2014

In it goes, thanks.

@juliantaylor juliantaylor deleted the unicode-argmin branch September 19, 2014 20:34
juliantaylor added a commit that referenced this pull request Sep 19, 2014
BUG: fix out of bound access in unicode argmin/argmax
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.

Segmentation fault with argmin() on unicode arrays
2 participants
0