commit | e0b2ce02108498e41e8956d29ea4c27f16dbf9e0 | [log] [tgz] |
---|---|---|
author | Dmitry Osipenko <digetx@gmail.com> | Thu Jun 15 02:18:28 2017 +0300 |
committer | Thierry Reding <treding@nvidia.com> | Thu Jun 15 14:17:21 2017 +0200 |
tree | afe334d4e5d5280b31e563605df95dae85061c4f | |
parent | d0fbbdff2e19aabccc1107b7e12ab9f3cbf626ef [diff] |
drm/tegra: Check syncpoint ID in the 'submit' IOCTL In case of invalid syncpoint ID, the host1x_syncpt_get() returns NULL and none of its users perform a check of the returned pointer later. Let's bail out until it's too late. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>