Return error when there are more mmco params than allocated size

Bug: 25818142

Change-Id: I5c1b23985eeca5192b42703c627ca3d060e4e13d
(cherry picked from commit 943323f1d9d3dd5c2634deb26cbe72343ca6b3db)
4 files changed