• Marco Trevisan's avatar
    subprocess: Fix communicate_cancelled signature · 5cc4cca9
    Marco Trevisan authored
    The source callback for a GCancellable should have the cancellable itself
    as first argument.
    This was not the case, and when this code was hit, we were instead trying
    to treat the pointer as a CommunicateState reference and thus wrongly
    deferencing it, causing a memory error and a crash.
    5cc4cca9
gsubprocess.c 57.9 KB