Fixed array bounds problem in vendor software