anv: ensure device name contains terminating character
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 16 Jul 2017 14:28:09 +0000 (15:28 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 17 Jul 2017 13:36:38 +0000 (14:36 +0100)
commit59adde0eabd9585100b23c111f1783a67b6f7f4d
tree7434c6af47412faa4a308440e737f93fb92b6bb7
parentf03f893cb863d16e334d2c60784939cbb8150cd6
anv: ensure device name contains terminating character

v2: Use sizeof() (Chris)

CID: 1415113
Reported-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/vulkan/anv_device.c