]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Avoid format string expansion from engine names
authorKees Cook <keescook@chromium.org>
Tue, 11 Apr 2017 04:56:30 +0000 (21:56 -0700)
committerJani Nikula <jani.nikula@intel.com>
Wed, 19 Apr 2017 12:49:27 +0000 (15:49 +0300)
commitf78c598ad39b9f0b620facbeb2c044eeabeeee51
tree761f33559752b26306b0da058c2ac174ea082e3e
parent2bec538e95210a9b01e9b1ea15fc080929da7aa9
drm/i915: Avoid format string expansion from engine names

While highly unlikely, this makes sure that the string built from
engine names won't be processed as a format string.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170411045630.GA6612@beast
drivers/gpu/drm/i915/intel_hangcheck.c