Commit f34d1ace by Nicolas Capens

Fix buffer overflow.

Bug chromium:719291 Change-Id: I5ddf6d45d3a66a4b626ec1d73995a2a4fd4b28b9 Reviewed-on: https://swiftshader-review.googlesource.com/9668Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 6df9dc90
...@@ -835,7 +835,7 @@ namespace sw ...@@ -835,7 +835,7 @@ namespace sw
} }
else // Vector else // Vector
{ {
int64_t c[4] = {-1, -1, -1, -1}; int64_t c[16] = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
return createXor(v, createConstantVector(c, T(v->getType()))); return createXor(v, createConstantVector(c, T(v->getType())));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment