Re: [Beignet] [PATCH 1/2] fix global variable out of boundary writing in libocl.

2015-06-17 Thread Yang, Rong R
Pushed. -Original Message- From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Zhigang Gong Sent: Monday, June 15, 2015 10:18 To: Luo, Xionghu Cc: beignet@lists.freedesktop.org Subject: Re: [Beignet] [PATCH 1/2] fix global variable out of boundary writing

Re: [Beignet] [PATCH 1/2] fix global variable out of boundary writing in libocl.

2015-06-14 Thread Zhigang Gong
Nice catch, LGTM, thanks. On Fri, Jun 12, 2015 at 09:10:00AM +0800, xionghu@intel.com wrote: From: Luo Xionghu xionghu@intel.com need minus one when fill '\0' to sizeof char type array. Signed-off-by: Luo Xionghu xionghu@intel.com --- src/cl_extensions.c | 2 +- 1 file

[Beignet] [PATCH 1/2] fix global variable out of boundary writing in libocl.

2015-06-11 Thread xionghu . luo
From: Luo Xionghu xionghu@intel.com need minus one when fill '\0' to sizeof char type array. Signed-off-by: Luo Xionghu xionghu@intel.com --- src/cl_extensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cl_extensions.c b/src/cl_extensions.c index