[Pkg-opencl-devel] Bug#848182: clinfo: CL_DEVICE_PRINTF_BUFFER_SIZE is size_t, not cl_ulong

Simon Richter sjr at debian.org
Wed Dec 14 22:14:07 UTC 2016


Package: clinfo
Version: 2.1.16.01.12-1
Severity: normal

Hi,

this is wrong in the other direction: the printf buffer lives on the
host side, so the host's idea of buffer sizes is relevant. The size
isn't verified in clinfo at all, leading to:

  printf() buffer size                            4503599627370496 (4096TiB)

   Simon

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages clinfo depends on:
ii  libc6                            2.24-7
ii  ocl-icd-libopencl1 [libopencl1]  2.2.9-2

clinfo recommends no packages.

clinfo suggests no packages.

-- no debconf information



More information about the Pkg-opencl-devel mailing list