qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] net: tulip: check frame size and r/w data length


From: P J P
Subject: Re: [PATCH] net: tulip: check frame size and r/w data length
Date: Mon, 17 Feb 2020 14:50:55 +0530 (IST)

+-- On Sat, 15 Feb 2020, Sven Schnelle wrote --+
| > +    if (!len1 || !len2 || !s->rx_frame_len) {
| > +        return;
| 
| I haven't tested the patch yet, but would that work if the guest OS passes
| only one buffer to the card? I.e. len1 = x, and len2 = 0 because only
| buffer 1 is available?

  No, it won't. I'll send a revised patch.

Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
8685 545E B54C 486B C6EB 271E E285 8B5A F050 DE8D




reply via email to

[Prev in Thread] Current Thread [Next in Thread]