Re: [PATCH i-g-t 3/3] tests/gem_seqno_wrap: fix over allocation of buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux