summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_text.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-06-25 16:14:06 -0400
committerZack Rusin <[email protected]>2013-06-28 04:24:16 -0400
commit2f13f28120fdfe2f5a64e87b4ec19db94bf63713 (patch)
treec30e81d22420c8dd1e594081a821eeb7a0e804be /src/gallium/auxiliary/tgsi/tgsi_text.c
parente742f7788ea6f2c1a4e1071a2d53eef5939e501b (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/tgsi_text.c')
0 files changed, 0 insertions, 0 deletions