commit | 1417fad75cb4eddc8d50604be88ca9a8a8de4c71 | [log] [tgz] |
---|---|---|
author | Xinyun Liu <xinyun.liu@intel.com> | Thu Jun 07 22:48:42 2018 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Mon Jun 11 15:04:45 2018 +0800 |
tree | a22316c425fc9ca9765c8476f821700e4af29e68 | |
parent | 659571953d315b36204acac508ef8d477044d260 [diff] |
drm/i915/gvt: use array to avoid potential buffer overflow Array 'pdp_pair' of size 1 may use index value(s) 1..7. Changed to pdps[8] to avoid confusion. Signed-off-by: Xinyun Liu <xinyun.liu@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>