Hi Erik,
On 6 September 2018 at 11:48, Erik Faye-Lund
<[email protected]> wrote:
> If we end up never taking the loop that writes ret, we can end up with
> an uninitialized value, and if we're *really* unlucky, that value can
> be -1, causing us to go down an error-path instead of a success path.
>
> This was obviously not intended, so let's just initialize this to zero.
>
Not that versed in virgl to know if one should initialize to 0 or 1.
In either case please use the following tag.
Should help with picking this fix to the right stable branches.
Fixes: a8987b88ff1 ("virgl: add driver for virtio-gpu 3D (v2)")
HTH
Emil
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev