diff options
author | Karol Herbst <[email protected]> | 2018-12-07 09:44:55 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2018-12-09 18:19:59 +0100 |
commit | 77944fb2b7c9b40539084f600b5df4fff18e9640 (patch) | |
tree | 18df186daef64746c8c119ff34a88035b570f3a4 /src/mesa | |
parent | d63a13308229b5c5a08358ccacdac83272596c78 (diff) |
nv50/ir: fix use-after-free in ConstantFolding::visit
opnd() might delete the passed in instruction, but it's used through
i->srcExists() later in visit
v2: use continue instead return
v3: use brackets for the outer if/else chain
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions