• Christian Hergert's avatar
    garray: add overflow checks before expanding array · 0c7dc758
    Christian Hergert authored
    We should bail when we detect that adding a number of items to an array
    would cause it to overflow. Since we can't change to using gsize for ABI
    reasons we should protect the integrity of the process even if that means
garray.c 55.4 KB