diff options
author | Kees Cook <[email protected]> | 2014-09-11 13:53:54 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-09-17 11:15:01 +1000 |
commit | 109ab90974995a06aeabab1535b0ce00f26dd24a (patch) | |
tree | d8c0a8c7ae5a783b0a484a9700c30604ec65c041 /scripts/gdb/linux/utils.py | |
parent | d898ce03675fc061f89a347a22d41271ed75c436 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions