Re: [PATCH wayland] server: validate resource versions at creation time

2016-02-18 Thread Giulio Camuffo
2016-01-14 22:46 GMT+02:00 Derek Foreman : > We shouldn't ever create a resource with version less than 1 or > greater than the interface version. There was a discussion in IRC some days ago, stemming from the bumping of wl_buffer to v2 in your network patch series. Currently it's not possible to

Re: [PATCH wayland] server: validate resource versions at creation time

2016-01-15 Thread Derek Foreman
On 15/01/16 03:14 AM, Marek Chalupa wrote: > Hi, > > On 01/14/2016 09:46 PM, Derek Foreman wrote: >> We shouldn't ever create a resource with version less than 1 or >> greater than the interface version. >> >> Signed-off-by: Derek Foreman >> --- >> >> I'm a little nervous about this one. >> >> An

Re: [PATCH wayland] server: validate resource versions at creation time

2016-01-15 Thread Marek Chalupa
Hi, On 01/14/2016 09:46 PM, Derek Foreman wrote: We shouldn't ever create a resource with version less than 1 or greater than the interface version. Signed-off-by: Derek Foreman --- I'm a little nervous about this one. Anything doing this probably gets what it deserves, but it does break way

[PATCH wayland] server: validate resource versions at creation time

2016-01-14 Thread Derek Foreman
We shouldn't ever create a resource with version less than 1 or greater than the interface version. Signed-off-by: Derek Foreman --- I'm a little nervous about this one. Anything doing this probably gets what it deserves, but it does break wayland's own resource-test... I guess a compromise is