[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/2] net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 0/2] net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst_addr() |
Date: |
Tue, 26 Jan 2021 12:18:45 +0100 |
I had a look at the patch from Miroslav trying to silence a
compiler warning which in fact is a nasty bug. Here is a fix.
https://www.mail-archive.com/qemu-devel@nongnu.org/msg772735.html
v3: Added Thomas qtest Acked-by
Philippe Mathieu-Daudé (2):
net/eth: Simplify _eth_get_rss_ex_dst_addr()
net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst_addr()
net/eth.c | 37 +++++++++++-------------
tests/qtest/fuzz-e1000e-test.c | 53 ++++++++++++++++++++++++++++++++++
MAINTAINERS | 1 +
tests/qtest/meson.build | 1 +
4 files changed, 72 insertions(+), 20 deletions(-)
create mode 100644 tests/qtest/fuzz-e1000e-test.c
--
2.26.2
- [PATCH v3 0/2] net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst_addr(),
Philippe Mathieu-Daudé <=