commit | 11f5db55b17afb213faf97826c4c29d54dc4916c | [log] [tgz] |
---|---|---|
author | Varun Wadekar <vwadekar@nvidia.com> | Tue Jun 02 21:16:00 2020 -0700 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Sun Jun 21 13:34:23 2020 -0700 |
tree | 0cece0714ffbbfa54da2f6c9823d102eb746ce55 | |
parent | e31d08354490f622e9df204507f1f10af8c2576d [diff] |
Tegra: sanity check NS address and size before use This patch updates the 'bl31_check_ns_address()' helper function to check that the memory address and size passed by the NS world are not zero. The helper fucntion also returns the error code as soon as it detects inconsistencies, to avoid multiple error paths from kicking in for the same input parameters. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I46264f913954614bedcbde12e47ea0c70cd19be0