rust-vmm / vm-virtio

virtio implementation
Apache License 2.0
370 stars 89 forks source link

vsock: validate the size of the RX buffers #160

Closed uran0sH closed 2 years ago

uran0sH commented 2 years ago

Summary of the PR

We validate the size of the RX buffers that is corresponding to the payload is not exceeding the maximum allowed one.

Signed-off-by: uran0sH huangwenyuu@outlook.com

issue: #157

Requirements

Before submitting your PR, please make sure you addressed the following requirements: