[BUG]: thrust::zip_iterator
allows out-of-bounds access if first iterator is longer than the others
#1155
Labels
thrust::zip_iterator
allows out-of-bounds access if first iterator is longer than the others
#1155
Is this a duplicate?
Type of Bug
Runtime Error
Component
Thrust
Describe the bug
Out of bounds access when the first iterator in a
zip_iterator
is longer than the othersHow to Reproduce
Note the size of
v
andy
are equal. If, however, you changev
to be size 5You will find that the iterator runs out of bounds.
Expected behavior
No out of bounds
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: