[#2212] CID37596:

Replaced statically allocated array of incorrect length with a vector