• Krzesimir Nowak's avatar
    Add checks for NULL pointer in arrays. · 33b011ce
    Krzesimir Nowak authored
    Fixes: Bug 599197 -  array ref and unref functions crash on NULL
    * garray.c: Added safety guards to all public functions, which did
    not have them earlier. Now when NULL is passed to them, they will
    issue a warning and return, instead of segfaulting.
garray.c 42.3 KB