The result of asprintf was previously ignored, handle the case of failure by not returning undefined content. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29724>
The result of asprintf was previously ignored, handle the case of failure by not returning undefined content. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29724>