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

test/init-mem: zero the ringbuf memory #1293

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

jirislaby
Copy link

This is a similar fix to commit 8100d7b (test/buf-ring-nommap: zero the ringbuf memory). The same is needed for test/init-mem as it crashes with MALLOC_PERTURB_=69 too.

So zero the ringbuf memory after posix_memalign() too.

Fixes #1291.

This is a similar fix to commit 8100d7b (test/buf-ring-nommap: zero
the ringbuf memory). The same is needed for test/init-mem as it crashes
with MALLOC_PERTURB_=69 too.

So zero the ringbuf memory after posix_memalign() too.

Fixes axboe#1291.

Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
@axboe axboe merged commit ddd46b2 into axboe:master Dec 5, 2024
15 checks passed
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.

init_mem test crashed in 2.8
2 participants