Skip to content

garray: add overflow checks before expanding array

Christian Hergert requested to merge wip/chergert/garray-bail into master

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 crashing.

Merge request reports