[PATCH] libdrm: fix sizes of memcpy to the drmModeAddFB2()

2011-12-14 Thread Rob Clark
On Wed, Dec 14, 2011 at 1:15 AM, Joonyoung Shim wrote: > The variables(bo_handles, pitches and offsets) are the array having 4 > elementary of uint32_t type. The their memcpy size is sizeof(uint32_t) * > 4. > > Signed-off-by: Joonyoung Shim Tested-by: Rob Clark > --- > ?xf86drmMode.c | ? ?6 +

Re: [PATCH] libdrm: fix sizes of memcpy to the drmModeAddFB2()

2011-12-14 Thread Rob Clark
On Wed, Dec 14, 2011 at 1:15 AM, Joonyoung Shim wrote: > The variables(bo_handles, pitches and offsets) are the array having 4 > elementary of uint32_t type. The their memcpy size is sizeof(uint32_t) * > 4. > > Signed-off-by: Joonyoung Shim Tested-by: Rob Clark > --- >  xf86drmMode.c |    6 ++

[PATCH] libdrm: fix sizes of memcpy to the drmModeAddFB2()

2011-12-14 Thread Joonyoung Shim
The variables(bo_handles, pitches and offsets) are the array having 4 elementary of uint32_t type. The their memcpy size is sizeof(uint32_t) * 4. Signed-off-by: Joonyoung Shim --- xf86drmMode.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xf86drmMode.c b/xf86drmM

[PATCH] libdrm: fix sizes of memcpy to the drmModeAddFB2()

2011-12-13 Thread Joonyoung Shim
The variables(bo_handles, pitches and offsets) are the array having 4 elementary of uint32_t type. The their memcpy size is sizeof(uint32_t) * 4. Signed-off-by: Joonyoung Shim --- xf86drmMode.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xf86drmMode.c b/xf86drmM