[Intel-gfx] [PATCH i-g-t 3/3] tests/gem_seqno_wrap: fix over allocation of buffers
Daniel Vetter
daniel at ffwll.ch
Mon Feb 10 10:04:25 CET 2014
On Fri, Feb 07, 2014 at 05:32:26PM +0000, Thomas Wood wrote:
> > [PATCH i-g-t 3/3] tests/gem_seqno_wrap: fix over allocation of buffers
>
> For clarity, this should probably be "fix over allocation of arrays",
> since the arrays were being allocated as an array of buffers instead
> of an array of pointers to buffers.
All patches merged, thanks. btw I've also switched to calloc - it's good
security style to use an explicit array allocation function since those
handle overflows already. But not worth the bother of another patch for
testcases ;-)
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list