diff options
author | Lim Siew Hoon <siew.hoon.lim@intel.com> | 2016-07-01 11:13:23 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2016-08-22 13:04:29 +0800 |
commit | d37c042e20d1e91f86042b8ca47dd70eac3e2b8c (patch) | |
tree | 419d4c24dcc35f96597d86ce2c50a7a762141cb5 /test/decode/tinyjpeg.c | |
parent | b6ee5d57d62999bfb4a098145f3dd8ebcff954c2 (diff) | |
download | libva-d37c042e20d1e91f86042b8ca47dd70eac3e2b8c.tar.gz |
Fix buffer overflow for array index out of bounds in test_07
The size of array surface_1 is 2, but it passed to test_unique_surfaces
func is 16 or 6 to do compare for surface_16. The index for surface_1
not in the array index range for surface_1 and access invalid memory
location.
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
(cherry picked from commit e4535e404d1dc33fb1fddf99f057c341fc652bfd)
Diffstat (limited to 'test/decode/tinyjpeg.c')
0 files changed, 0 insertions, 0 deletions