Thread (4 messages) 4 messages, 2 authors, 2017-02-03

Re: [PATCH 2/9] virtio_pci: use shared interrupts for virtqueues

From: Jason Wang <jasowang@redhat.com>
Date: 2017-02-03 09:56:30

Possibly related (same subject, not in this thread)


On 2017年02月03日 17:52, Christoph Hellwig wrote:
On Fri, Feb 03, 2017 at 05:47:41PM +0800, Jason Wang wrote:
quoted
quoted
No, we need to allocate the array larger in that case as want proper
names for the interrupts.
Consider the case of !per_vq_vectors, the size of msix_names is 2, but
snprintf can do out of bound accessing here. (We name the msix shared by
virtqueues with something like "%s-virtqueues" before the patch).
Yes, that's what I meant above - we need to allocate a large array
starting with this patch.  I'll fix it up for the next version.
I see.

Thanks
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help