-
Ell authored
In xcf_write_int8(), avoid calling g_output_stream_write_all() with data == NULL and count == 0, in which case it raises a CRITICAL and doesn't set bytes_written, which we proceed to use uninitialized. This can happen, e.g., when writing an empty parasite. (cherry picked from commit 8e798e9c)
9ab781bd