diff options
author | Rob Clark <rclark@redhat.com> | 2018-01-17 10:16:20 -0500 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-01-17 16:27:45 +0100 |
commit | 8a510a5c75261ba0ec39155326982aa786541e29 (patch) | |
tree | 96aa941a448dde50e732eb687cf39ecab6aee20c /fs | |
parent | 2b0bc68cccc70f1a61b90b49012e917eea4cb251 (diff) |
drm/vmwgfx: fix memory corruption with legacy/sou connectors
It looks like in all cases 'struct vmw_connector_state' is used. But
only in stdu connectors, was atomic_{duplicate,destroy}_state() properly
subclassed. Leading to writes beyond the end of the allocated connector
state block and all sorts of fun memory corruption related crashes.
Fixes: d7721ca71126 "drm/vmwgfx: Connector atomic state"
Cc: <stable@vger.kernel.org>
Signed-off-by: Rob Clark <rclark@redhat.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions