diff options
author | Kasin Li <donglil@codeaurora.org> | 2017-06-19 15:36:53 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-08 10:06:28 +0100 |
commit | 031b02bc16aeeb34c8038026cbbca1e6430c9d75 (patch) | |
tree | 9502599d6c42b4f219d79581c4b6cb55b5e56943 /samples | |
parent | 6e6eba5ba14579f1fede964d189a7153444fb3b6 (diff) |
drm/msm: Fix potential buffer overflow issue
commit 4a630fadbb29d9efaedb525f1a8f7449ad107641 upstream.
In function submit_create, if nr_cmds or nr_bos is assigned with
negative value, the allocated buffer may be small than intended.
Using this buffer will lead to buffer overflow issue.
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions