diff options
author | John Levon <john.levon@nutanix.com> | 2021-11-12 14:44:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 14:44:11 +0000 |
commit | 353fee1349a1917e01bda8f225554e7f71939364 (patch) | |
tree | bb746205d79c8e3e5146b89fd30eac18b3e89973 /docs/testing.md | |
parent | 56842967566dcf4b89514949a6e88ba89eeaf268 (diff) | |
download | libvfio-user-353fee1349a1917e01bda8f225554e7f71939364.zip libvfio-user-353fee1349a1917e01bda8f225554e7f71939364.tar.gz libvfio-user-353fee1349a1917e01bda8f225554e7f71939364.tar.bz2 |
don't assert in dev_get_caps() (#621)
As clients control ->client_max_fds, we should return an error, not assert, if
we can't represent a region's mmap_areas.
Found via AFL++.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'docs/testing.md')
0 files changed, 0 insertions, 0 deletions