<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 4:32 PM Ian Romanick <<a href="mailto:idr@freedesktop.org">idr@freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/29/2018 02:22 PM, Jason Ekstrand wrote:<br>
> Have you seen this cause an actual problem? There's no way we can<br>
> actually end up with an input array that big... I guess this is for the<br>
> crazy OOB case?<br>
<br>
The array can't be that big due to other compiler limits. This is just<br>
to prevent a garbage index from being used. If the previous patch is<br>
reverted, the test case mentioned in that patch will have this problem<br>
because the index will be negative.<br></blockquote><div><br></div><div>Makes sense. <br></div></div></div>