On Wed, 2016-12-07 at 18:44 +0100, Marek Olšák wrote:
> On Wed, Dec 7, 2016 at 6:42 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> > What's wrong with feeding it stack memory?
> 
> I don't really have an answer to that.

what happens when you malloc shader[i].length + 1 instead of +1000?
looks like you're just hiding overflow error.

Jan

> 
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to