Null Arrays and Empty strings support
For arrays : when Length is -1, the array is a null
array (Part v1.0.3 6 §5.2.5)
The SOPC_VariantCopy
does not correctly handles the case where the input Variant is <NULL>
A full review might be necessary to check all possible operators
For Empty string (len = 0) the encoding is forced as if string was null
(len = -1)
See part 6 : §5.2.2.4
Encoding of empty/NULL arrays should also be checked
Edited by Jérémie Chabod