Skip to content
  • 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
    array.
    
    * 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.
    33b011ce