Skip to content

vkr: do not validate string sizes when they are 0

Chia-I Wu requested to merge olv/virglrenderer:vkr-null-deref into master

There is no need to validate string sizes as they are only encoded in one place, unlike with other dynamic arrays.

We don't validate string sizes when they are non-zero already. This fixes the decoder to not validate when they are 0.

/cc @ryanneph @zzyiwei

Merge request reports