Fixed use after free.
Fixed memory leaks.
Fixed memory leak
Fixed use after free.
Fixed use after free.
Fixed missing return check.
Fixed realloc return check.
Fixed uninitialized argument value.
Fixed memory leak.
Fixed memory leak.
Fixed memory leak.
Fixed memory leak.
Fixed memory leak.
Checking setgid before calling initgroups now.
Fixed free of uninitialized value.
Fixed memory leaks.
Fixed memory leak.
Fixed dereference of NULL pointer.
Fixed NULL pointer dereference.
Fixed Stack_Free.