OpenCL-CTS icon indicating copy to clipboard operation
OpenCL-CTS copied to clipboard

memory oob problem in test_half

Open lengleng1992 opened this issue 3 years ago • 2 comments

https://github.com/KhronosGroup/OpenCL-CTS/blob/1161d788dd5d71885ca19783210f18c305715a7f/test_conformance/half/main.cpp#L134

argc should not minus 1 here, it will cause memory out-of-bounds problem later

https://github.com/KhronosGroup/OpenCL-CTS/blob/1161d788dd5d71885ca19783210f18c305715a7f/test_conformance/half/main.cpp#L214

lengleng1992 avatar Jan 05 '22 08:01 lengleng1992

This is fixed with https://github.com/KhronosGroup/OpenCL-CTS/pull/1489

niranjanjoshi121 avatar Sep 11 '22 08:09 niranjanjoshi121

@bashbaug I think we can close this one too based on https://github.com/KhronosGroup/OpenCL-CTS/issues/1509#issuecomment-1430074090.

nikhiljnv avatar May 16 '23 14:05 nikhiljnv