From: Jerome Glisse Date: Mon, 11 Feb 2013 13:57:18 +0000 (-0500) Subject: drm/radeon: enforce use of radeon_get_ib_value when reading user cmd X-Git-Tag: v3.8~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de0babd60d8d43b58fd06a7803151d32cb589af0;p=pandora-kernel.git drm/radeon: enforce use of radeon_get_ib_value when reading user cmd When ever parsing cmd buffer supplied by userspace we need to use radeon_get_ib_value rather than directly accessing the ib as the user cmd might not yet be copied into the ib thus the parser might read value that does not correspond to what user is sending and possibly allowing user to send malicious command undected. Signed-off-by: Jerome Glisse Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed