[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 0/2] net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst_addr() |
Date: |
Fri, 15 Jan 2021 16:11:24 +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
v2: Restrict tests so they don't fail when device aren't available
Based-on: <20210115150936.3333282-1-philmd@redhat.com>
"tests/qtest: Fixes fuzz-tests"
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 v2 0/2] net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst_addr(),
Philippe Mathieu-Daudé <=