[[ bug 12844 ]] Make sure MCVariableArray::load returns error if input data is malformed.
Merge branch 'bugfix-12844' into develop