Re: [Mesa-dev] [PATCH V2] mesa: don't memcmp() off the end of a cache key.

2013-04-04 Thread Paul Berry
On 2 April 2013 01:31, Chris Forbes wrote: > Reported-by: `per` in #intel-gfx > > The size of the cache key varies, so store the actual size as well as > the key blob itself, rather than just assuming it's the same as the size > passed in. > > NOTE: This is a candidate for stable branches. > > V2

[Mesa-dev] [PATCH V2] mesa: don't memcmp() off the end of a cache key.

2013-04-02 Thread Chris Forbes
Reported-by: `per` in #intel-gfx The size of the cache key varies, so store the actual size as well as the key blob itself, rather than just assuming it's the same as the size passed in. NOTE: This is a candidate for stable branches. V2: Don't leave silly holes in structure; use unsigned instead