Re: [PATCH] Fixed integer overflow in e1000e

2020-03-03 Thread Philippe Mathieu-Daudé
Hi Andrew, Please Cc all the maintainers: ./scripts/get_maintainer.pl -f hw/net/e1000e.c Dmitry Fleytman (maintainer:e1000e) Jason Wang (odd fixer:Network devices) qemu-devel@nongnu.org (open list:All patches CC here) On 3/3/20 7:29 PM, and...@daynix.com wrote: From: Andrew Melnychen

[PATCH] Fixed integer overflow in e1000e

2020-03-03 Thread andrew
From: Andrew Melnychenko https://bugzilla.redhat.com/show_bug.cgi?id=1737400 Fixed setting max_queue_num if there are no peers in NICConf. qemu_new_nic() creates NICState with 1 NetClientState(index 0) without peers, set max_queue_num to 0 - It prevents undefined behavior and possible crashes,