summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-03-19 11:43:37 -0400
committerIlia Mirkin <[email protected]>2016-03-19 13:09:49 -0400
commitd1b85dbffa0eec2b44bb2a9f339a2617a39730da (patch)
treec28234809506f7dbac3452a7922ce78ffa409e2d /src/mesa/main/bufferobj.c
parent902bbda81b31bacb2a8c60ca6a8ba8ca34ae73d3 (diff)
nv50: reset TFB bufctx when we no longer hold a reference to the buffers
This fix is analogous to commit ff085d014. This fixes some use-after-free situations in dEQP when an xfb state is removed, and then a clear is triggered, which only does a partial validation. It would attempt to read the no-longer-valid buffers, resulting in crashes. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Cc: "11.1 11.2" <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.c')
0 files changed, 0 insertions, 0 deletions