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 overrun in validate test #58

Closed
drossetti opened this issue May 31, 2019 · 0 comments · Fixed by #59
Closed

buffer overrun in validate test #58

drossetti opened this issue May 31, 2019 · 0 comments · Fixed by #59
Assignees

Comments

@drossetti
Copy link
Member

reported by Ching Chu:

$ ./validate
buffer size: 327680
off: 0
check 1: MMIO CPU initialization + read back via cuMemcpy D->H
check 2: gdr_copy_to_bar() + read back via cuMemcpy D->H
check 3: gdr_copy_to_bar() + read back via gdr_copy_from_bar()
check 4: gdr_copy_to_bar() + read back via gdr_copy_from_bar() + 5 dwords offset
check 5: gdr_copy_to_bar() + read back via gdr_copy_from_bar() + 11 bytes offset
[1] 316576 segmentation fault ./validate

@drossetti drossetti self-assigned this May 31, 2019
drossetti added a commit that referenced this issue May 31, 2019
while there, fortify and beatify compare_buf()

fixes #58
drossetti added a commit that referenced this issue Jun 17, 2019
fix buffer overrun in validate.cpp
fixes #58
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 a pull request may close this issue.

1 participant