Re: [Mesa-dev] [PATCH] r600/sb: fix crash in fold_alu_op3

2018-07-03 Thread Dave Airlie
On 4 July 2018 at 12:44, wrote: > From: Roland Scheidegger > > fold_assoc() called from fold_alu_op3() can lower the number of src to 2, > which then leads to an invalid access to n.src[2]->gvalue(). > This didn't seem to have caused much harm in the past, but on Fedora 28 > it will crash (presu

[Mesa-dev] [PATCH] r600/sb: fix crash in fold_alu_op3

2018-07-03 Thread sroland
From: Roland Scheidegger fold_assoc() called from fold_alu_op3() can lower the number of src to 2, which then leads to an invalid access to n.src[2]->gvalue(). This didn't seem to have caused much harm in the past, but on Fedora 28 it will crash (presumably because -D_GLIBCXX_ASSERTIONS is used,