Return correct error code when finish input length is too long.

Bug: 63745895
Change-Id: I465bf9138a0a21363f89f2c6074f7108ee33af70
1 file changed