virtio: rng: Handle oversized return buffers
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 3 repliesIn review
Changes in v2 from the cover letter
- Avoid filling whole buffer just to overwrite in next line.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | test: dm: virtio_rng: Update virtio-rng testtest/ | +12 | 1 reply | |
| 2/2 | virtio: rng: Handle oversized return buffersdrivers/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andre Przywara |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] virtio: rng: Handle oversized return buffers
The virtio-rng test to verify effective handling of oversized return buffers checks that an (undocumented) error is raised, instead of the real concern, which is the surrounding buffer integrity following a rng function call.
Update the test to check that the other contents of a buffer remain unchanged instead of looking for an error code.
Changes in v2:
- Avoid filling whole buffer just to overwrite in next line.
Kavin Gunasekara (2):
test: dm: virtio_rng: Update virtio-rng test
virtio: rng: Handle oversized return buffers
drivers/virtio/virtio_rng.c | 2 +- test/dm/virtio_rng.c | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-)
Signature · 1 line
2.53.0