proper handling of variable length arrays (SF#2002481 https://sourceforge.net/tracker...