[Debian-med-packaging] Bug#745535: vxl: buffer overflow if 3+ ICDs installed
Rebecca N. Palmer
r.palmer at bham.ac.uk
Tue Apr 22 15:55:29 UTC 2014
Source: vxl
Version: 1.17.0-8
Tags: patch,fixed-upstream
Control: fixed -1 1.14.0-18 # built without OpenCL
Control: found -1 1.17.0-8.1
contrib/brl/bbas/bocl/bocl_manager.txx line 65 tries to put all the
OpenCL platform IDs into platform_id[2], which will overflow if there
are more than two of them.
As there is normally one OpenCL platform per installed OpenCL ICD
package, even if some of them do not have any devices, this can happen
even on systems with only the usual 2 devices (CPU+GPU), and will become
the norm if [0] is adopted.
This is fixed upstream by [1], and I expect (but haven't tested) that
this would also work on the Debian version.
[0]
http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/Week-of-Mon-20140203/000076.html
[1]
http://sourceforge.net/p/vxl/git/ci/f78aac9c094285d7f5c2b644be8716950f0403f2/
More information about the Debian-med-packaging
mailing list