Jakub Jelen - 2016-04-01

Proposing patch for the first issue: getpwuid can return NULL and the return value should be properly checked before de-referencing.