Skip to content

do not validate NULL C-strings

Chia-I Wu requested to merge null-str into master

We encode the size of dynamic arrays in two places except for strings. There is no need to validate string sizes.

When they are non-NULL, we let vn_decode_char_array make sure they are null-terminated. When they are NULL, there is nothing to be done.

/cc @ryanneph @zzyiwei

Merge request reports