Skip to content

Check the io_uring_probe result#13

Open
skitt wants to merge 1 commit intoshuveb:masterfrom
skitt:probe-err-check
Open

Check the io_uring_probe result#13
skitt wants to merge 1 commit intoshuveb:masterfrom
skitt:probe-err-check

Conversation

@skitt
Copy link
Copy Markdown

@skitt skitt commented Sep 17, 2021

On kernels without io_uring, io_uring_probe returns NULL, leading to a
segfault in probe. Check the result instead, and print the appropriate
error message.

Signed-off-by: Stephen Kitt steve@sk2.org

On kernels without io_uring, io_uring_probe returns NULL, leading to a
segfault in probe. Check the result instead, and print the appropriate
error message.

Signed-off-by: Stephen Kitt <steve@sk2.org>
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