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

fix VFIO_USER_DEVICE_GET_REGION_IO_FDS allocation #785

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Conversation

jlevon
Copy link
Collaborator

@jlevon jlevon commented Oct 1, 2023

clang-tidy static analysis identified a zero-sized allocation in the
case that no ioregionfds had been configured. Fix this issue and add a
test for it.

Signed-off-by: John Levon john.levon@nutanix.com

clang-tidy static analysis identified a zero-sized allocation in the
case that no ioregionfds had been configured. Fix this issue and add a
test for it.

Signed-off-by: John Levon <john.levon@nutanix.com>
@jlevon jlevon merged commit 8d38e8c into master Oct 2, 2023
8 checks passed
jlevon added a commit that referenced this pull request Aug 16, 2024
clang-tidy static analysis identified a zero-sized allocation in the
case that no ioregionfds had been configured. Fix this issue and add a
test for it.

Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
(cherry picked from commit 8d38e8c)
@jlevon jlevon deleted the regioniofds-fix branch August 16, 2024 17:07
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