commit | 7118851374074bd92887bfabd47ce39c9be412fd | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Wed Oct 11 10:56:48 2017 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Oct 12 21:47:06 2017 -0700 |
tree | db9d2f23a0d5c0179d2b6c5c5c8b804d463a5a0f | |
parent | c866e0b3ca563de579d0231278239aa6427c9ddf [diff] |
glsl/blob: Return false from ensure_can_read on overrun Otherwise, if you have a large read fail and then try to do a small read, the small read may succeed even though it's at the wrong offset. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Cc: mesa-stable@lists.freedesktop.org