Fair enough. I was wrong about the buffer contents and about who controls the stream. The real issue is that a bad length just makes the driver act on garbage values, and nothing in the switch derives a memory access from them, so the patch is hardening, not a fix. Keeping it withdrawn.
- Re: [PATCH] virtio: console: check the control packet s... Guanglei Zhu
- [PATCH] virtio: console: check the control packet ... Guanglei Zhu
- Re: [PATCH] virtio: console: check the control... Michael S. Tsirkin
- Re: [PATCH] virtio: console: check the con... Guanglei Zhu
- Re: [PATCH] virtio: console: check the control... sashiko-bot
