Re: [Qemu-devel] [PATCH v2] linux-user: Allocate thunk size dynamically

2015-06-12 Thread Riku Voipio
On 7 May 2015 at 00:47, Alexander Graf wrote: > We store all struct types in an array of static size without ever > checking whether we overrun it. Of course some day someone (like me > in another, ancient ALSA enabling patch set) will run into the limit > without realizing it. > > So let's make t

[Qemu-devel] [PATCH v2] linux-user: Allocate thunk size dynamically

2015-05-06 Thread Alexander Graf
We store all struct types in an array of static size without ever checking whether we overrun it. Of course some day someone (like me in another, ancient ALSA enabling patch set) will run into the limit without realizing it. So let's make the allocation dynamic. We already know the number of struc