mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-03 14:56:47 -04:00
This function helpfully does not 0-terminate the buffer, so we have to do that ourselves. Also make the buffer as large as possibly required, and handle errors. Closes: #2630 Approved by: matthiasclasen