On 24 August 2017 at 19:52, Adam Jackson <a...@redhat.com> wrote: > The snprintf stuff here already constructs the right name for the device > node, and if it doesn't, you configured Mesa wrong, don't do that. > I think the idea was that "snprintf can fail" even though in practise it will never do. In all fairness how much to care in that case.
Should we drop the "if (n != -1 && n < sizeof(buf))" part as well with this patch? -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev