Skip to content
Commit e1dd8714 authored by John Harrison's avatar John Harrison
Browse files

drm/i915/guc: Fix potential invalid pointer dereferences when decoding G2Hs



Some G2H handlers were reading the context id field from the payload
before checking the payload met the minimum length required.

Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Reviewed-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220302003357.4188363-9-John.C.Harrison@Intel.com
parent d4de9a3e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment