Skip to content
  • Ell's avatar
    Issue #1783 - Xcf file crashing gimp-console-2.10 ... · 6ebadea7
    Ell authored
    ... (Invalid read reported by valgrind)
    
    In xcf_read_int8(), avoid calling g_input_stream_read_all() with
    data == NULL and count == 0, in which case it raises a CRITICAL and
    doesn't set bytes_read, which we proceed to use uninitialized.
    This can happen, e.g., when reading an empty parasite.
    6ebadea7