mirror of
https://github.com/flatpak/flatpak.git
synced 2026-02-01 03:21:23 -05: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