On 6/16/20 8:31 AM, Daniel P. Berrangé wrote:
>    fw_cfg_add_file(s, filename, g_byte_array_steal(data, NULL),
>                    (guint)g_byte_array_get_size(data));

FWIW, you can't both read the size and steal the data in the argument list like
this -- the evaluation order is unspecified.


r~

Reply via email to