9839db709a
If only invalid surfaces are passed, we end up using an undefined array as a string. And while this might not be possible, it is hard to reason about, especially for new readers and tools. So let's initialize the buffer as an empty string. CID: 1666581 Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37903>