diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2017-06-15 02:18:28 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-06-15 14:17:21 +0200 |
commit | e0b2ce02108498e41e8956d29ea4c27f16dbf9e0 (patch) | |
tree | afe334d4e5d5280b31e563605df95dae85061c4f /tools/perf/scripts/python/export-to-postgresql.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions