diff options
author | Zack Rusin <[email protected]> | 2013-06-25 16:14:06 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-06-28 04:24:16 -0400 |
commit | 2f13f28120fdfe2f5a64e87b4ec19db94bf63713 (patch) | |
tree | c30e81d22420c8dd1e594081a821eeb7a0e804be /src/gallium/auxiliary/tgsi | |
parent | e742f7788ea6f2c1a4e1071a2d53eef5939e501b (diff) |
draw: check for an integer overflow when computing stride
Our buffer overflow arithmetic was susceptible to integer
overflows which was the buffer overflow logic to break.
Lets use the llvm overflow intrinsics to check for integer
overflows while computing the stride/needed buffer size.
Signed-off-by: Zack Rusin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
0 files changed, 0 insertions, 0 deletions