Added a check for the length of config in case of heap overflow.

Bug: 26070127
Change-Id: Idcd36be58f1c2e9f085eda51d7453f65fc82e5b0
1 file changed