iommu/amd: Handle integer overflow in dma_ops_area_alloc
commit e6aabee0 upstream. Handle this case to make sure boundary_size does not become 0 and trigger a BUG_ON later. Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Showing
Please register or sign in to comment