hal: fix input validation errors

 -Fix input validation error 721588

Change-Id: Iaf14581732a5216f7a72272ddd4db2cd0ceba420
1 file changed