From: Kees Cook Date: Thu, 11 Sep 2014 20:53:54 +0000 (-0700) Subject: drm/ttm: make sure format string cannot leak in X-Git-Tag: fixes-against-v3.18-rc2~73^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=109ab90974995a06aeabab1535b0ce00f26dd24a;p=pandora-kernel.git drm/ttm: make sure format string cannot leak in While zone->name is currently hard coded, the call to kobject_init_and_add() should follow the more defensive argument list usage (as already done in other places in ttm_memory.c) where "%s" is used instead of directly passing in a variable as a format string. Signed-off-by: Kees Cook Signed-off-by: Dave Airlie --- Reading git-diff-tree failed