diff options
author | Daniel Vetter <[email protected]> | 2023-04-04 21:40:38 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2023-04-05 22:43:08 +0200 |
commit | ee4cce0a8f03a3332ccf48ef8b420a65d02d1fcf (patch) | |
tree | 10bf9c7c5f7006630cfc2a08ddc830b0b0181c38 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 36e239b5d509c1b564669e7ca3d016c444bbf808 (diff) |
drm/fb-helper: fix input validation gaps in check_var
Apparently drivers need to check all this stuff themselves, which for
most things makes sense I guess. And for everything else we luck out,
because modern distros stopped supporting any other fbdev drivers than
drm ones and I really don't want to argue anymore about who needs to
check stuff. Therefore fixing all this just for drm fbdev emulation is
good enough.
Note that var->active is not set or validated. This is just control
flow for fbmem.c and needs to be validated in there as needed.
Reviewed-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions