diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-11-18 12:07:11 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-11-18 12:12:39 +0200 |
commit | 7a52c7d720398da7df242aeef7be652b54290e94 (patch) | |
tree | 4d3b3b6de8358ec3b19a4c7959ecbf9cea67b755 /kms++util/src/extcpuframebuffer.cpp | |
parent | d6dc724f16672cbb3eed382815514f4c9a0246d4 (diff) |
fbs: check params and ensure drmModeAddFB2 is passed correctly sized arrays
Check that parameter vectors are of the same size, and match the number
of planes.
Extend the vectors to 4, as drmModeAddFB2() expects to get arrays of 4
elements.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Matt Hoosier <matt.hoosier@garmin.com>
Diffstat (limited to 'kms++util/src/extcpuframebuffer.cpp')
0 files changed, 0 insertions, 0 deletions