vulkan: Fix out-of-bound read
authorEdward Hervey <edward@centricular.com>
Tue, 21 Nov 2017 15:39:14 +0000 (16:39 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 21 Nov 2017 15:39:14 +0000 (16:39 +0100)
commit87dbd558cca8c6d9f0041f599b75e525c6ae2f55
tree673f75d4d08d5edf6e1b90ff50db17e9498739ac
parentd4afba794a72284b524cc58d4023b59a9518779e
vulkan: Fix out-of-bound read

G_N_ELEMENTS is the *number* of entries, not the maximum entry number

CID #1417215
ext/vulkan/vkupload.c