Fix broken bounds check.
commit4a8cf0bb0f4a6adae68463cc4125fa5e5313deb5
authorAdam Sampson <ats@offog.org>
Sat, 4 Apr 2015 21:18:20 +0000 (4 22:18 +0100)
committerAdam Sampson <ats@offog.org>
Sat, 4 Apr 2015 21:18:20 +0000 (4 22:18 +0100)
treeca26abcec6b24e56c7fe59bb929dbeef53001512
parentcb3f028f4d7944f37be074322be27b6e2688d817
Fix broken bounds check.

With &&, this test would never be true, and would cause an out-of-bounds
access to the array below.

(Found using -fsanitize=address.)
sampler_layer.c