summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c
diff options
context:
space:
mode:
authorKasin Li <donglil@codeaurora.org>2017-06-19 15:36:53 -0600
committerRob Clark <robdclark@gmail.com>2017-06-19 19:58:57 -0400
commit4a630fadbb29d9efaedb525f1a8f7449ad107641 (patch)
tree20c23954ea7db38a5c7fdd4c5d9914dbf3c85950 /drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c
parent51c9fbe69486c9143877f5d26a575b16588eb08a (diff)
drm/msm: Fix potential buffer overflow issue
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c')
0 files changed, 0 insertions, 0 deletions